This project aims to improve Python and Django skills applying TDD as development methodology
System for a Conference commissioned by a pseudo-client akka Morena.
Use libraries as:
dj-database-url | dj-static | python-decouple | gunicorn
- Clone the Repository.
- Create a virtualenv with Python 3.6.3
- Activate the virtualenv.
- Install the dependencies.
- Configure the instance with .env
- Run the tests.
git clone https://github.com/danielbruno301/wttd-eventex wttd
cd wttd
python -m venv .wttd
source .wttd/bin/activate
pip install -r requirements.txt
cp contrib/env-sample .env
python manage.py test
- Create an instance in heroku.
- Send the settings to heroku.
- Define a secure SECRET_KEY for the instance.
- Set DEBUG=False
- Configure the email service.
- Send the code to heroku.
heroku create myinstance
heroku config:push
heroku config:set SECRET_KEY=`python contrib/secret_gen.py`
heroku config:set DEBUG=False
#Configure your email
git push heroku master --force