Django Cast
stable
  • Django Cast
  • Features
  • Deployment
    • Locally / Setting up your development machine
    • Useful third party services for production
    • Heroku
    • Setting up your production machine on EC2
  • Using a CDN (AWS S3 + Cloudfront)
  • Analytics
  • Contributing
  • Credits
  • History
Django Cast
  • Docs »
  • Deployment
  • Edit on GitHub

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
    • Running the App locally
    • Installation using Docker
  • Useful third party services for production
    • Mailgun
    • Sentry
    • Amazon S3
  • Heroku
    • Install the heroku command line app
    • Use S3 for storing media files
    • Set the configuration variables for heroku
    • Deploy your project to heroku
    • Use your own domain name with heroku
    • SSL
    • Caveats
  • 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
Next Previous

© Copyright 2019, Jochen Wersdörfer Revision eccc8856.

Built with Sphinx using a theme provided by Read the Docs.