This PR allows wagtail-template based sites to run in a Heroku-like environment. It replaces the Dockerfile with something that can be run on Dokku/Flynn/Deis/Heroku.
It also adds a test fab command. This allows a developer to quickly setup a "testing environment" on a Dokku server for the particular branch they are working on.
The testing environments run as if they are in produciton (debug off, offline compression, etc). Also, the media issue we had with Heroku has been solved by using Dokku volumes.
The advantages of these testing environments over the staging environments we currently use are:
Quick to setup with a single command
One feature tested at a time
A project can have as many testing environments as they like
This PR contains a mostly complete implementation of testing environments, the only major thing that isn't implemented yet is prepopulating their database and media volume with data from a live site.
This should work on any dokku-alt server with no extra modifications required.
This PR allows wagtail-template based sites to run in a Heroku-like environment. It replaces the Dockerfile with something that can be run on Dokku/Flynn/Deis/Heroku.
It also adds a
test
fab command. This allows a developer to quickly setup a "testing environment" on a Dokku server for the particular branch they are working on.The testing environments run as if they are in produciton (debug off, offline compression, etc). Also, the media issue we had with Heroku has been solved by using Dokku volumes.
The advantages of these testing environments over the staging environments we currently use are:
This PR contains a mostly complete implementation of testing environments, the only major thing that isn't implemented yet is prepopulating their database and media volume with data from a live site.
This should work on any
dokku-alt
server with no extra modifications required.