- Criar ambiente virtual
python3 -m venv .venv
source .venv/bin/activate
- SQLite3
sudo apt install sqlite3
sudo apt install shellcheck
- Instalar
make install
- Executar
make run
- Rodar linters
make lint
- Rodar testes
make test
- Limpar e reinicializar
make clean
- Database
# Inicial migration
flask db init
flask db migrate -m "Initial migration"
flask db upgrade
# After git clone
make initdb
flask db migrate -m "Comment migration"
flask db upgrade
# Admin commands
flask createadb
flask createadmin
flask createuser
flask listusers