Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Latest commit

 

History

History
71 lines (50 loc) · 880 Bytes

README.md

File metadata and controls

71 lines (50 loc) · 880 Bytes

UniChess

Estado Atual do projeto

Instalar e executar

  • 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