- make
- make assets
- make test
- make deploy
Requirements:
- Docker Compose
- Node.js
Steps:
- Run
make
to bring up the dev environment. You may need to make a blank.env
file in the root directory. - Run
make assets
to compile the assets.
- Run
make test
to run the tests.
make deploy
to deploy to the staging server.make deploy-prod
to deploy to the production server.
- Totem used
dokku
for deployment. TheDockerfile
is used to build the image.- Configure
dokku
to use the production Dockerfile:dokku builder:set totem selected dockerfile
anddokku builder-dockerfile:set totem dockerfile-path compose/production/django/Dockerfile
- Configure