-
Copy
.env.example
to.env
and fill it up. To generate secret keys:>>> import os >>> os.urandom(24)
-
Create a venv (or not). Run
pip install -r requirements.txt
-
Migrate database:
set -a; source .env; set +a make init-db make migrate
-
Copy
contrib/flowdrive_api.service
to/etc/systemd/user/flowdrive_api.service
-
Run
systemctl --user daemon-reload
-
Run
systemctl --user enable --now flowdrive_api
-
Copy
.env.example
to.env
and fill it up. To generate secret keys:>>> import os >>> os.urandom(24)
-
Create a venv (or not). Run
pip install -r requirements.txt
-
Migrate database:
set -a; source .env; set +a make init-db make migrate
-
Flask run:
make run
Refer to the Insomnia collection for development