WTTD Eventex Project
A study project for following along WTTD class.
How to start coding?
- Clone repository
- Create a virtual environment targeting Python 3.6+
- Activate virtual environment
- Install dependencies
- Configure your development session with
.env
file - Run tests
git clone git@github.com:danielgoncalves/eventex.git
cd eventex
python -m venv .eventex_venv
source .eventex_venv/bin/activate
pip install -r requirements-dev.txt
cp contrib/env-sample .env
python manage.py test
Deployment to Heroku
- Create a Heroku instance
- Send all config
- Create a strong secure
SECRET_KEY
for the instance - Set
DEBUG
to false - Configure mail service
- Push code
heroku create youreventexinstance
heroku config:push
heroku config:set SECRET_KEY=`python contrib/secret_gen.py`
heroku config:set DEBUG=False
# configure mail service (depends on the service you are planning to use)
git push heroku master --force