Mentions légales du service

Skip to content

Resolve "Add proper database for SQLAlchemy"

RAVERDY Pierre-Guillaume requested to merge 41-sqlalchemy-db into development
name: Feature
about: New features or wider changes, 

Description

Closes #41

A brief description of the PR.

Changelog

  • Added sqlite3 supprt for persistency

How to test

  • Launch the backend (python3 wsgi.py) and frontend
  • Should be unable to log as superdsi
  • stop the backend, launch the database init script (python3 init_db.py)
  • launch the backend again, should be able to log as superdsi

Misc

  • Using sqlite and not postgreql as simpler, and the app's DB is small/simple
  • No unittests yet (to be done once #9 is merged)
  • Moved Alembic to separate issue #49

Merge request reports