freepost official repo. https://freepo.st

zPlus 2749021bbb Peers Jam - January 18th, 2019 1 day ago
freepost 2749021bbb Peers Jam - January 18th, 2019 1 day ago
.gitignore be631324d7 Initial port. 6 months ago
.htaccess.cgi be631324d7 Initial port. 6 months ago
.htaccess.wsgi be631324d7 Initial port. 6 months ago
LICENSE b6a047b015 === Replace old freepost with new and different version === 2 years ago
README.md d60bbc8861 Use freepo.st instead of freepost.peers.community in README. 2 months ago
favicon.ico b6a047b015 === Replace old freepost with new and different version === 2 years ago
freepost.cgi be631324d7 Initial port. 6 months ago
freepost_freepost.sql b9b68b398e Add SQL schema. 1 year ago
passenger_wsgi.py c54c323fd2 Add basic app sructure. 6 months ago
requirements.txt be631324d7 Initial port. 6 months ago
robots.txt d6fde081e3 Move files to a separate directory. 6 months ago
settings.yaml ee46645dfb Add "account password reset". 6 months ago

README.md

freepost

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.

Development

Setup Python3 virtual environment

mkdir venv
virtualenv -p python3 venv
  -> alternative: python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt

Run dev server

source venv/bin/activate
python3 -m bottle --debug --reload --bind 127.0.0.1:8000 freepost

Build stylesheets

Build CSS files

stylus --watch --compress --disable-cache --out freepost/static/css/ freepost/static/stylus/freepost.styl

Deploy

  • Rename .htaccess.wsgi or .htaccess.cgi to .htaccess
  • Change settings in settings.yaml

License

freepost is free software licensed as GNU Affero General Public License, either version 3 or (at your option) any later version.