Nesta - notes

Make sure to cd to the correct place when starting up nesta..

% cd ~/sites/;
% shotgun /Users/gnerd/sites/

.. else will get a "page not found" error

Create theme "thegrid"

Gnerd 00:49 ~/sites/
% nesta theme:create thegrid

Gnerd 00:49 ~/sites/
% ls
Gemfile      config       content      nohup.out
Gemfile.lock    kontent-demo themes

Gnerd 00:49 ~/sites/
% ls themes/thegrid/ app.rb    public    views

Gnerd 00:49 ~/sites/
% nesta theme:install git://
Cloning into 'themes/slate'...
remote: Counting objects: 57, done.
remote: Compressing objects: 100% (46/46), done.
remote: Total 57 (delta 20), reused 14 (delta 7)
Receiving objects: 100% (57/57), 10.73 KiB, done.
Resolving deltas: 100% (20/20), done.

Gnerd 00:50 ~/sites/
% cp themes/slate/views/* themes/thegrid/views/

Gnerd 00:50 ~/sites/
% vi ./themes/thegrid/views/master.sass

Gnerd 00:51 ~/sites/
% nesta theme:enable thegrid

Syntax highlighting

Syntax highlighting makes code more readable - especially if you are used to it in your editor.

One key note for Nesta Syntax highlighting setup with code-highlighter .. it requires Ruby 1.9.3

Some distro's still install 1.8.7 which will not work with code-highlighter.

Once Ruby 1.9.3 is installed, I followed the instructions for syntax highlighting with rack and code-highlighter

Then when setting themes: master.sccs reference to css file and the theme name in must match.

Instead of coderay, went for Ultraviolet and that is covered here. I might still look at coderay, but what I need to setup is a Ultraviolet theme based on what I use in Vim (which is based on Solarized).

Published on in