An open API service indexing awesome lists of open source software.

https://github.com/mazulo/wttd_eventex


https://github.com/mazulo/wttd_eventex

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Eventex

[![Build Status](https://travis-ci.org/mazulo/wttd_eventex.svg?branch=master)](https://travis-ci.org/mazulo/wttd_eventex)
[![Code Health](https://landscape.io/github/mazulo/wttd_eventex/master/landscape.svg?style=flat)](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
````