Skip to content

adelpopelkova/donors_registry

 
 

Repository files navigation

donors_registry

Registry of blood donors for Czech Red Cross in Frýdek-Místek.

Instalation

  1. Create and activate a new virtual environment
  2. Install all development dependencies via pip install -r requirements/dev.txt
  3. Create a config file registry/.env with the following content:
FLASK_ENV=development
DATABASE_URL=sqlite:///database.sqlite
SECRET_KEY=<some_random_string_here>
  1. Prepare a new database and apply all existing migrations via flask db upgrade

  2. Add a user account via flask create-user <email> <password>

  3. You can install anonymized test data via flask install-test-data (needs empty database and with all migrations applied)

  4. run the app with flask run

Testing

There are currently no tests but you can run linters at least via tox -e lint.

About

Registry of blood donors for Czech Red Cross in Frýdek-Místek.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 81.3%
  • HTML 18.2%
  • Mako 0.5%