|
|
5 years ago | |
|---|---|---|
| freepost | 5 years ago | |
| .gitignore | 6 years ago | |
| .htaccess.cgi | 7 years ago | |
| .htaccess.wsgi | 7 years ago | |
| LICENSE | 9 years ago | |
| README.md | 6 years ago | |
| database.schema.sql | 6 years ago | |
| favicon.ico | 9 years ago | |
| freepost.cgi | 7 years ago | |
| passenger_wsgi.py | 7 years ago | |
| requirements.txt | 6 years ago | |
| robots.txt | 7 years ago | |
| settings.yaml | 6 years ago |
This is the code powering freepost, a free discussion board that allows users to post text and links that other users can read and comment.
cd freepost-directory
python3 -m venv venv (if this doesn't work, try `virtualenv -p python3 venv`)
source venv/bin/activate
pip3 install -r requirements.txt
source venv/bin/activate
python3 -m bottle --debug --reload --bind 127.0.0.1:8000 freepost
Build CSS files
stylus --watch --compress --disable-cache --out freepost/static/css/ freepost/static/stylus/freepost.styl
Development above)public_html foldersettings.yaml has restricted permissions, for instance 0600.htaccess.wsgi or .htaccess.cgi to .htaccess (if you use CGI or WSGI)settings.yaml if needednewgrp freepost before creating the virtenv, for quota reasonscat database.schema.sql | sqlite3 database.sqliteEverything should be setup and working. Make sure your CGI or WSGI server is configured correctly.
freepost is free software licensed as GNU Affero General Public License, either version 3 or (at your option) any later version.