home » zplus/freepost.git
ID: ac6ecd1716326a31edcede6d83514a7a2b483b55
37 lines — 963B — View raw


# freepost

This is the code powering [freepost](http://freepost.peers.community), 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](https://www.gnu.org/philosophy/free-sw.html) licensed
as GNU Affero General Public License, either version 3 or (at your option) any
later version.