Sistema de Eventos encomendado pela Morena.
- Clone o repositório.
- Crie um virtualenv com Python 3.7.1
- Ative o virtualenv.
- Instale as dependências.
- Configure a instância com o .env
- Execute os testes.
git clone [email protected]:ramirovsjunior/eventexx.git /Projetos/wttd
cd /Projetos/wttd
python -m venv .wttd
source .wtdd/bin/activate
pip install -r requirements.txt
cp contrib/venv-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âcia.
- 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
# Configuro o email
git push heroku master --force