Skip to content

A boilerplate which demonstrates how to use React / Django with Gunicorn and Docker on Heroku.

Notifications You must be signed in to change notification settings

scoutbee/heroku-docker-gunicorn-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heroku Docker Gunicorn boilerplate Django CI

Deploy

This boilerplate provides an example of a React / Django (Client / Server) based application hosted on Heroku with a Gunicorn Django setup running in Docker.

Relevant files

The app.json file is there for specifiying all the dependencies of your Heroku application. These can be addon-specific ones (Postgres e.g.), environment variables which needs to be set or hardware specification for you dynamic created environments via Review Apps.

Find more about that file in the Heroku docs.

The Dockerfile combines the React Django application in a single Docker image. It first builds the client and then installs all the necessary dependencies for Django backend.

Find more about that file in the Heroku docs.

Via this file you combine the Dockerfile with your Heroku setup by instructing which Dockerfile should be used with which container. In our case we use the Dockerfile in the root directory as a web container which can act as a web server.

Find more about that file in the Heroku docs.

Other boilerplates for React / Django

About

A boilerplate which demonstrates how to use React / Django with Gunicorn and Docker on Heroku.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published