[webarch-websites] Framework for a Nikola site
Chris Croome
chris at webarchitects.co.uk
Wed Nov 5 13:34:31 GMT 2014
Hi
On Debian 7 you can install Nikola like this:
sudo aptitude install python-pip python-dev libxml2-dev \
libxslt1-dev python-textile
sudo pip install nikola[extras]
Then you can checkout the site and install the textile plugin:
git clone gitosis at git.webarchitects.co.uk:webarch-nikola.git
cd webarch-nikola
nikola plugin -i textile
Then you can build and serve the site locally:
nikola build ; nikola serve
Then the one test page I imported after using Jekyll to convert the
existing Webarchitects site to textile files can be opened:
http://localhost:8000/stories/about.html
One issue is that URLs like this:
http://www.webarch.net/about
Will need webserver level redirects to the new URLs as the following
didn't work in the config file:
REDIRECTIONS = [("/about", "/about.html")]
All the best
Chris
--
Webarchitects Co-operative
http://webarchitects.coop/
+44 114 276 9709
@webarchcoop
More information about the webarch-websites
mailing list