Deployment¶
Here we describe how to deploy a project named “foobar” to production. We are using cookiecutter-django for convenience, but this should also be possible with other project bootstrapping mechanisms.
Contents:
- Locally / Setting up your development machine
- Useful third party services for production
- Heroku
- Setting up your production machine on EC2
- Creating your machine on EC2
- Install required software to run your docker deployment
- Make supervisorctl accessible for normal users
- Make docker-compose runable as normal user
- Reboot
- Check out source
- Convenience
- Keeping the service running with supervisor
- Set the environment variables
- Starting the docker containers manually
- Using supervisorctl