Skip to content
/ wttd Public

Projeto trilha de aprendizado do curso Welcome to the Django, ministrado por Henrique Bastos

Notifications You must be signed in to change notification settings

allansbo/wttd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Projeto faz parte de uma trilha de aprendizado do curso Welcome to the Django.

Para ter acesso ao projeto final, utilize o link (https://eventex-allansbo.herokuapp.com/)

Eventex

Sistema de Eventos encomendado pela Morena

Como desenvolver?

  1. Clone o repositório
  2. Crie um virtualven com Python 3.10
  3. Ative o virtualenv
  4. Instale as dependências
  5. Configure a instância com o .env
  6. Execute os teste

Unix / Linux

git clone https://github.com/allansbo/wttd.git
cd wttd
python -m venv .wttd
source .wttd/bin/activate
pip install -r requirements-dev.txt
cp contrib/sample-env .env
python manage.py test

Windows

git clone https://github.com/allansbo/wttd.git
cd wttd
python -m venv .wttd
source .wttd/Scripts/activate.bat
pip install -r requirements-dev.txt
cp contrib/sample-env .env
python manage.py test

Como fazer o deploy?

  1. Crie uma instância no heroku
  2. Envie as configurações para o heroku
  3. Defina uma SECRET_KEY segura para a instância
  4. Defina DEBUG=False
  5. Configure o serviço de e-mail
  6. Envie o código para o heroku
heroku create minhainstancia
heroku config:push
heroku config:set SECRET_KEY=`python contrib/secret_gen.py`
heroku config:set DEBUG=False
# configure o e-mail
git push heroku master --force

About

Projeto trilha de aprendizado do curso Welcome to the Django, ministrado por Henrique Bastos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published