Projeto de Estudo do curso Welcome to the Django.
- Clone o repositório
- Cria um virtualenv com Python 3.5
- Ative o virtualenv
- Instale as dependências
- Configure as instâncias com o .env
- Execute os testes
git clone git@github.com:renzon/wttd.git
cd wttd
python -m venv venv
sourve venv/bin/activate
pip install -r requirements-dev.txt
cp contrib/env-sample
pytest .
- Crie uma instância no Heroku
- Envie as configurações para o Heroku
- Defina uma SECRET_KEY segura para a instância
- Defina DEBUG=False
- 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
# configure o email
git push heroku master