28 lines
452 B
Markdown
28 lines
452 B
Markdown
|
# GayBook
|
||
|
|
||
|
This is a simple GuestBook software written in Python, using Flask!
|
||
|
|
||
|
It uses a sqlite database for storage, and avoids spam with a simple proof-of-work system
|
||
|
|
||
|
## Running
|
||
|
|
||
|
You'll need python and flask installed on your machine.
|
||
|
|
||
|
First, set up the database
|
||
|
|
||
|
```console
|
||
|
$ cd database/
|
||
|
$ python setup_db.py
|
||
|
```
|
||
|
|
||
|
Then, run the Flask app
|
||
|
|
||
|
```console
|
||
|
$ python app.py
|
||
|
```
|
||
|
|
||
|
To run in debug mode, use
|
||
|
|
||
|
```console
|
||
|
$ FLASK_DEBUG=1 python app.py
|
||
|
```
|