https://github.com/mazulo/wttd_eventex
https://github.com/mazulo/wttd_eventex
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mazulo/wttd_eventex
- Owner: mazulo
- Created: 2015-12-20T02:11:14.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-16T18:23:14.000Z (over 10 years ago)
- Last Synced: 2025-03-14T19:18:01.147Z (over 1 year ago)
- Language: Python
- Size: 1.43 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Eventex
[](https://travis-ci.org/mazulo/wttd_eventex)
[](https://landscape.io/github/mazulo/wttd_eventex/master)
Sistema de Eventos desenvolvido no curso Welcome to the Django
## Como desenvolver?
1. Clone o respositório
2. Crieum 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
````shell
git clone git@github.com:mazulo/wttd_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
````console
heroku create minhainstancia
heroku configu:push
heroku config:set SECRET_KEY=`python contrib/secret_gen.py`
heroku config:set DEBUG=False
# configura o email
git push heroku master
````