Projeto do curso Welcome to the Django
- Clone o repositório.
- Crie um virtualenv com Python 3.5
- Ative o virtualenv.
- Instale as dependências.
- Configure a instância com o .env
- Execute os testes.
git clone https://github.com/gusttavoaguiarr/welcome-to-the-django welcome-to-the-django
cd welcome-to-the-django
python -m venv .wttd
source .wttd/bin/activate
pip install -r requirements-dev.txt
cp contrib/env-sample .env
python manage.py test
- Crie uma instância no heroku.
- Envie as configurações para o heroku.
- Defina uma SECRET_KEY segura para instância.
- Defina DEBUG=False
- Configure o serviço de e-mail
- Envie o código para o heroku.
heroku create minha-instancia
heroku config:push
heroku config:set SECRET_KEY=`python contrib/secret_gen.py`
heroku config:set DEBUG=False
# configuro o e-mail
git push heroku master --force