- Clone o repositório.
- Crie um virtualenv com Python 3.6
- Ative o virtualenv.
- Instale as dependências.
- Configure a instância com o .env
- Execute os testes.
- Execute o runserver.
git clone <git>
cd <git>
virtualenv env --python=python3 # python 3.6 ou mais atual
source env/bin/activate
pip install -r requirements_dev.txt
cp contrib/env-sample .env
coverage run --source='.' manage.py test --verbosity=2 && coverage report --show-missing
python manage.py runserver
- Crie uma instância no heroku.
- Envie as configurações para o heroku.
- Define um SECRET_KEY segura para instância.
- Defina DEBUG=True
- Configure o serviço de email.
- Envie o código para o heroku.
heroku create minhainstancia
heroku config:push
heroku config:set SECRET_KEY=`python contrib/secret_gen.py`
heroku config:set DEBUG=False
git push heroku master --force