Download this repository:
git clone git@github.com:annkamsk/flams-web.git
cd flams-web
Install dependencies:
pip install -r requirements.txt --force-reinstall
--force-reinstall
is to force pip to get the version of flams that's up-to-date with main.
Setup databases:
python install.py
Create env file:
touch .env
It should contain at least 2 variables: ENV
(if set to TEST
then the debug mode will be on) and SECRET_KEY
, which has to be a long sequence of bytes.
python -m flams_web.app
We use pip-tools to manage python dependencies. You can install it with:
pip install pip-tools
If you're adding a new dependency, add the package name to requirements.in
.
Refresh requirements.txt
:
pip-compile requirements.in