Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.
/ eventex-wttd Public archive

Learning Django at Welcome to the Django course

Notifications You must be signed in to change notification settings

felipefreitag/eventex-wttd

Repository files navigation

Project goals

  • Python and Django best practices
  • Continuous delivery: Project is deployed to Heroku after each commit
  • TDD: tests come before code
  • Delivering real value: All improvements come from 'client' demands
  • See the deployed project

Eventex

Sistema de Eventos encomendado pela Morena. (Programa Welcome to The Django)

Build Status Code Health

Como desenvolver?

  1. Clone o repositório
  2. Crie um virtualenv com Python 3.6
  3. Ative o virtualenv
  4. Instale as dependências
  5. Configure a instância com o .env
  6. Execute os testes
git clone [email protected]:felipefreitag/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. Defina uma SECRET_KEY segura para a 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
heroku config:set SECRET_KEY=`python contrib/secret_gen.py`
heroku config:set DEBUG=False
#configura o email
git push heroku master --force

About

Learning Django at Welcome to the Django course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published