Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
which one is better?
#11
So I have the files that will on my local server and basically look like I want them to. What else do I need to do? I guess that's where I'm getting lost.
Quote
#12
Doing some research it just seems like I upload the files to a web host, but I still need a domain name(?). So Flask and or django is used for keeping databases and so on? Python and or javascript is used to make the site interactive I'm guessing. I know I'm asking a bunch of newb questions but I'm just trying to get it all straight in my head.
Quote
#13
Javascript is for making the page interactable, like by having animations.
The server side, where python would sit, is used for making the site dynamic, which means the content someone would see might be different each time they reload the page.
Quote
#14
(Oct-30-2018, 05:10 PM)prophoss Wrote: So I have the files that will on my local server and basically look like I want them to
Flask and Django has build in web-server for local development.
So this make it easy to build and test all local,this is what i do often to learn and test out stuff.
Virtual environment is must to learn about,it now easy as it's build into Python from 3.6 -->.

If have maked something that want share with the world,need a host eg DigitalOcean.
It's also normal to have files on eg GitHub,BitBucket,then git clone repo_name will upload all files to DigitalOcean.

Now also leave local web-server behind and use production ready server like Gunicorn with Nginx.
DigitalOcean has very good tutorials about this:
How To Serve Flask Applications with Gunicorn and Nginx on Ubuntu 18.04

An other direction is not to do any server setup and let AWS Lambda do it all.
Quote:Run code without thinking about servers. Pay only for the compute time you consume.
Quote
#15
Please go with the flask
Quote

Top Page

Forum Jump:


Users browsing this thread: 1 Guest(s)