annkamsk / flams-web

Web interface of flams

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FLAMS-web

Install

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.

Run

python -m flams_web.app

Adding new dependencies/updating old

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

About

Web interface of flams


Languages

Language:Python 50.0%Language:HTML 38.5%Language:JavaScript 10.3%Language:CSS 1.2%