Event System commissioned by Morena.
- Clone the repository.
- Create a virtualenv with Python 3.6
- Activate virtualenv.
- Install the dependencies.
- Configure the instance with .env
- Run the tests.
git clone git@github.com:rfdeoliveira/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 an instance in heroku
- Send settings to heroku
- Set a secure SECRET_KEY for the instance
- Set
DEBUG = FALSE
- Configure the e-mail service.
- Send the code to heroku
heroku create minhainstancia
heroku config:push
heroku config:set SECRET_KEY=`python contrib/secret_gen.py`
heroku config:set DEBUG=False
# configure o email
git push heroku master --force