Nesta - notes
Make sure to cd to the correct place when starting up nesta..
% cd ~/sites/uplatecoding.com; % shotgun /Users/gnerd/sites/uplatecoding.com/config.ru
.. else will get a "page not found" error
Create theme "thegrid"
Gnerd 00:49 ~/sites/uplatecoding.com % nesta theme:create thegrid Gnerd 00:49 ~/sites/uplatecoding.com % ls Gemfile config content nohup.out Gemfile.lock config.ru kontent-demo themes Gnerd 00:49 ~/sites/uplatecoding.com % ls themes/thegrid/ README.md app.rb public views Gnerd 00:49 ~/sites/uplatecoding.com % nesta theme:install git://github.com/gma/nesta-theme-slate.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/uplatecoding.com % cp themes/slate/views/* themes/thegrid/views/ Gnerd 00:50 ~/sites/uplatecoding.com % vi ./themes/thegrid/views/master.sass Gnerd 00:51 ~/sites/uplatecoding.com % nesta theme:enable thegrid
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 config.ru 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).