rvaccari / eventex

Primeiro projeto curso welcometothedjango.com.br

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Eventex

Sistema de Eventos encomendado pela Morena.

Build Status Code Climate

Como desenvolver?

  1. Clone o repositório.
  2. Crie um virtualenv com Python 3.5
  3. Ative o virtualenv.
  4. Instale as dependências.
  5. Configure a instância com o .env
  6. Execute os testes.
git clone git@github.com:rvaccari/eventex.git wttd
cd wttd
python -m venv .wttd
source .wttd/bin/activate
pip install -r requirements-dev.txt
cp contrib/env-sample .env
python manage.py test

Como fazer o deploy?

  1. Crie uma instância no heroku.
  2. Envie as configurações para o heroku.
  3. Define uma SECRET_KEY segura para instância.
  4. Defina DEBUG=False
  5. Configure o serviço de email.
  6. Envie o código para o heroku.
heroku create minhainstancia
heroku config:push
heorku config:set SECRET_KEY=`python contrib/secret_gen.py`
heroku config:set DEBUG=False
# configura o email
git push heroku master --force 

About

Primeiro projeto curso welcometothedjango.com.br


Languages

Language:CSS 32.4%Language:HTML 31.6%Language:Python 29.4%Language:JavaScript 6.3%Language:Makefile 0.3%