Skip to content

olivx/eventex

Repository files navigation

#Eventex

Build Status Code Health Code Climate

##Como desenvolver ?

  1. Clone o repositorio.
  2. Crie um virtual env com python 3.5.
  3. Ative o virtual env.
  4. Instale as dependencias
  5. Configure uma instancia com um .env
  6. Rode os testes
git clone git@github.com:olivx/eventex.git wttd                 
cd wttd             
python -m venv .wttd                
source .wttd/bin/activete               
pip install -r requirements-dev.txt             
cp contrib/env-simple .env              
python manage.py test                         

##Como realizar o deploy ?

  1. Crie uma isntancia no heroku
  2. Envie as configurações para heroku
  3. Defina uma secrect key para isntancia
  4. Defina DEBUG=False
  5. Configure um serviço de email
  6. Envie o codigo para heroku
heroku create minha_instacia_heroku             
heroku config:push              
heroku config:set SECRET_KEY='python -m contrib/secret_gen.py'                  
heroku config:set DEBUG=False
#configure yor email services
git push heroku master --force