]> WPIA git - motion.git/blob - README.md
initial commit for motion applicaiton
[motion.git] / README.md
1 # Installation
2 Requires 3.
3 To install:
4 ```
5 virtualenv -p python3 .
6 . bin/activate
7 pip install -r requirements.txt
8 ```
9 Then edit config.py.example into config.py with your database connection
10
11 To debug-run:
12 ```
13 LANG=C.UTF-8 FLASK_DEBUG=1 FLASK_APP=motion.py flask run
14 ```
15
16 To install database schema, run in an interactive python shell (`python`):
17 ```
18 import motion
19 motion.init_db()
20 ```