Repository moved to https://clif.peers.community/zplus/freepost.git https://freepo.st
zPlus 4f5f90047f Fix #97 Issue within server test regarding bottle. | 3 лет назад | |
---|---|---|
freepost | 3 лет назад | |
.gitignore | 4 лет назад | |
.htaccess.cgi | 6 лет назад | |
.htaccess.wsgi | 6 лет назад | |
LICENSE | 4 лет назад | |
README.md | 3 лет назад | |
database.schema.sql | 5 лет назад | |
favicon.ico | 3 лет назад | |
favicon.svg | 3 лет назад | |
freepost.cgi | 4 лет назад | |
passenger_wsgi.py | 4 лет назад | |
requirements.txt | 3 лет назад | |
robots.txt | 4 лет назад | |
settings.yaml | 5 лет назад |
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 /usr/bin/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.sqlite
Everything 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.
monkey
logo art by iko, released as CC0.