A fork of the original contentdb, codenamed "Okapi".
Go to file
rubenwardy 73a79d5eef Add file upload for releases 2018-03-23 17:05:07 +00:00
app Add file upload for releases 2018-03-23 17:05:07 +00:00
.gitignore Add file upload for releases 2018-03-23 17:05:07 +00:00
README.md Fix link in README.md 2018-03-21 21:17:10 +00:00
config.example.cfg Add file upload for releases 2018-03-23 17:05:07 +00:00
requirements.txt Add Github login 2018-03-18 18:05:53 +00:00
rundebug.py Use consistent quotes 2018-03-21 22:03:37 +00:00
runprod.py Use consistent quotes 2018-03-21 22:03:37 +00:00
setup.py added me 2018-03-23 13:07:22 +00:00

README.md

Content Database

Setup

First create a Python virtual env:

virtualenv env
source env/bin/activate

then use pip:

pip3 install -r requirements.txt

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:

python3 setup.py -d

Then run the server:

python3 rundebug.py

Then view in your web browser: http://localhost:5000/