contentdb/README.md

32 lines
433 B
Markdown
Raw Normal View History

2018-03-19 19:25:13 +01:00
# Content Database
## Setup
First create a Python virtual env:
virtualenv env
source env/bin/activate
then use pip:
2018-03-20 01:44:47 +01:00
pip3 install -r requirements.txt
2018-03-19 19:25:13 +01:00
## Running
You need to enter the virtual environment if you haven't yet in
the current session:
source env/bin/activate
Reset the database like so:
2018-03-20 01:44:47 +01:00
python3 setup.py -d
2018-03-19 19:25:13 +01:00
Then run the server:
2018-03-20 01:44:47 +01:00
python3 rundebug.py
2018-03-19 19:25:13 +01:00
Then view in your web browser:
http://localhost:5000/