|
|
|
|
|
by sandGorgon
3210 days ago
|
|
the answer to this is usually "use docker".
If you want to deploy your nginx as well, then you need docker-compose.yml and use "docker stack deploy". If you are only looking to deploy your python code (and nginx/apache is constantly running on the server), then follow these steps 1. install docker on server
2. create an account on https://hub.docker.com/
3. https://docs.docker.com/engine/swarm/stack-deploy/#deploy-th... your docker workflow in the future looks like this:
1. test the application on your laptop inside a docker container
2. push container to docker hub
3. "docker update" your stack |
|