-
Clone the project.
-
Create an
.env
file in the root of the project and define the following variables:FLASK_APP="virtual_bookshelf" FLASK_SECRET_KEY="your SECRET KEY here"
Use the following command to create a SECRET KEY:
python -c 'import secrets; print(secrets.token_hex())'
-
Open the terminal from the project folder and install by running:
poetry install
-
Initialize the database (run this command only once):
flask init-db
-
Run the app:
flask --debug run
Once you have installed the project, run:
task test
This project is under license from MIT.