ID: 1db55cf956185edb538ae17e068c11f6d13f36e8
37 lines
—
949B —
View raw
| # freepost
This is the code powering [freepost](https://freepo.st), 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.
|