Eventex

Event System commissioned by Morena.

Build Status codebeat badge CodeFactor Codacy Badge

How to develop?

  1. Clone the repository.
  2. Create a virtualenv with Python 3.6
  3. Activate virtualenv.
  4. Install the dependencies.
  5. Configure the instance with .env
  6. 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

How to deploy?

  1. Create an instance in heroku
  2. Send settings to heroku
  3. Set a secure SECRET_KEY for the instance
  4. Set DEBUG = FALSE
  5. Configure the e-mail service.
  6. 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