Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 894 Bytes

README.md

File metadata and controls

45 lines (27 loc) · 894 Bytes

Environment

Install the required packages

sudo apt-get install python-pip python-virtualenv gettext optipng libjpeg-turbo-progs

Using a python virtualenv is recommended.

Create a virtualenv

virtualenv pelican_env

Use virtualenv

source pelican_env/bin/activate

Install Python modules

pip install -r requirements.txt

Enable Pelican plugins

git submodule init
git submodule update

Building

make html

Build for upload in Freenet

source pelican_env/bin/activate
PYTHONPATH=$PYTHONPATH:pelican-plugins{$(ls pelican-plugins/| sed 's/ /,/g')}
SITEURL=/USK@0iU87PXyodL2nm6kCpmYntsteViIbMwlJE~wlqIVvZ0,nenxGvjXDElX5RIZxMvwSnOtRzUKJYjoXEDgkhY6Ljw,AQACAAE/freenetproject-mirror/490
DEBUG=1
make html && freesitemgr update freenetproject-mirror

Testing

firefox output/index.html