An Event System using Django
- Clone repo
- Create a virtualenv (Python v3.6)
- Activate virtualenv
- Install dependencies
- Config instance with .env
- Run tests
git clone git@github.com:matheusabr/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
- Create a Heroku instance
- Set Heroku config
- Define a safe SECRET_KEY
- Set DEBUG=False
- Config email service
- Send code to Heroku
heroku create myinstance
heroku config:push
heroku config:set SECRET_KEY=`python contrib/secret_gen.py`
heroku config:set DEBUG=False
# Config an email service
git push heroku master --force