(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 toFlask 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.