A fork of the original contentdb, codenamed "Okapi".
Go to file
rubenwardy cd77ad6050 Use bash script to start server 2018-03-24 02:36:14 +00:00
app Use bash script to start server 2018-03-24 02:36:14 +00:00
.gitignore Use bash script to start server 2018-03-24 02:36:14 +00:00
README.md Fix link in README.md 2018-03-21 21:17:10 +00:00
config.example.cfg Add packages API 2018-03-23 17:35:43 +00:00
requirements.txt Add Github login 2018-03-18 18:05:53 +00:00
rundebug.sh Use bash script to start server 2018-03-24 02:36:14 +00:00
runprod.sh Use bash script to start server 2018-03-24 02:36:14 +00:00
setup.py Use bash script to start server 2018-03-24 02:36:14 +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/