Skip to content

partev/website

 
 

Repository files navigation

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

About

Freenet static website generator

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 63.3%
  • CSS 27.7%
  • Makefile 4.6%
  • Python 2.3%
  • Shell 2.1%