[webarch-websites] Framework for a Nikola site
Nick Hardiman
nick at internetmachines.co.uk
Thu Nov 13 14:10:09 GMT 2014
Success!
Deploy from my workstation to remote https://webarch-dev.host1.webarch.net/ is good.
nick at debian:~/webarch-nikola/stories$ nikola deploy
Scanning posts......done!
[2014-11-13T00:35:44Z] INFO: deploy: => preset 'default'
[2014-11-13T00:35:44Z] INFO: deploy: ==> rsync -rav --delete output/ webarch-dev at host1.webarch.net:sites/default/
...
sent 870,006 bytes received 25,493 bytes 198,999.78 bytes/sec
total size is 2,588,632 speedup is 2.89
[2014-11-13T00:35:48Z] INFO: deploy: Successful deployment
nick at debian:~/webarch-nikola/stories$
On 12 Nov 2014, at 16:11, Chris Croome <chris at webarchitects.co.uk> wrote:
> Hi
>
> Debian unstable includes Nikola and that is probably the best way to
> install if you are running unstable.
>
> I have imported some content from the old site and uploaded the results
> here using "nikola deploy" (let me know if you want ssh keys adding to
> this server so you can update this version):
>
> - https://webarch-dev.host1.webarch.net/
>
> The menu for mobile devices doesn't work correctly and I don't like the
> drop down menu depending on Javascript, it would be nice to have a CSS
> one.
>
> All the best
>
> Chris
>
> On Wed 05-Nov-2014 at 01:34:31PM +0000, Chris Croome wrote:
>>
>> 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")]
>
> --
> Webarchitects Co-operative
> http://webarchitects.coop/
> +44 114 276 9709
> @webarchcoop
>
> _______________________________________________
> webarch-websites mailing list
> webarch-websites at lists.webarch.co.uk
> https://lists.webarch.co.uk/mailman/listinfo/webarch-websites
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webarch.co.uk/pipermail/webarch-websites/attachments/20141113/42f2442d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.webarch.co.uk/pipermail/webarch-websites/attachments/20141113/42f2442d/attachment-0001.bin>
More information about the webarch-websites
mailing list