]> git.lizzy.rs Git - cheatdb.git/blob - README.md
Rename mod to package, add README
[cheatdb.git] / README.md
1 # Content Database
2
3 ## Setup
4
5 First create a Python virtual env:
6
7         virtualenv env
8         source env/bin/activate
9
10 then use pip:
11
12         pip install -r requirements.txt
13
14 ## Running
15
16 You need to enter the virtual environment if you haven't yet in
17 the current session:
18
19         source env/bin/activate
20
21 Reset the database like so:
22
23         python setup.py -d
24
25 Then run the server:
26
27         python rundebug.py
28
29 Then view in your web browser:
30
31         http://localhost:5000/