Skip to content

A small event system created using Django framework.

Notifications You must be signed in to change notification settings

maisappreis/wttd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eventex

It's a small event system created using Django framework. Project from Henrique Bastos course. https://henriquebastos.nutror.com/

🛠️ Installation

In the project directory /wttd:

1 - Create your .env

2 - Create a virtual environment:

python -m venv .wttd

3 - Activate the Virtual Environment:

  • on Mac (bash/zsh)
source .wttd/bin/activate
  • on Windows (PowerShell)
.wttd\Scripts\Activate.ps1

4 - Install the dependencies:

pip install -r requirements-dev.txt

5 - Run the tests

python manage.py test

🌱 On Development

In the project directory /wttd:

1 - Activate the Virtual Environment:

  • on Mac (bash/zsh)
source .wttd/bin/activate
  • on Windows (PowerShell)
.wttd\Scripts\Activate.ps1

2 - Run in the development mode:

python manage.py runserver

💻 On Production

  1. Create an instance on Heroku
  2. Send settings to Heroku
  3. Set a secure SECRET_KEY for the instance
  4. Set DEGUB=False
  5. Configure email service
  6. Send the code to Heroku
heroku create myinstance
heroku config:push
heroku config:set SECRET_KEY=`XXX`
heroku config:set DEGUB=False

# configure email
git push heroku master --force

About

A small event system created using Django framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published