Starry Hope Nanoc
What is this?
This is the source code used to build www.starryhope.com. Starry Hope is built using open source technologies. So many people in the open source community have helped me over the years and with this project (through their websites, github repos and IRC chat), so I thought I would be a good open source citizen and release this code for anyone to view, copy, use or fork.
Feel free to browse this code for ideas for making your own nanoc powered blog, or download it and use it as a template for your own site. If you find this useful, it'd be great if you would link to www.starryhope.com.
Getting started with Vagrant
If you have Virtualbox and Vagrant installed, you can get started really quickly. If you don't use Vagrant, I highly suggest you give it a try.
1. Clone this repository
git clone firstname.lastname@example.org:jimjimovich/starryhope-nanoc.git cd starryhope-nanoc
2. Set up VM with Vagrant
3. Edit config.yaml to fit your needs
4. Compile site
vagrant ssh cd /vagrant sudo service nginx restart # needed first time only nanoc co
http://localhost:8080 to see the results!5. Browse to
1. Fork this repo on github
2. Clone your forked repo into Cloud9
Chose the repo you just forked from your list of repos in your Cloud9 dashboard and click "clone to edit"
(the following comands are all for the terminal in Cloud9)
3. Install gems
4. Install nginx
c9pm install nginx
5. Configure and start nginx
Generate your nginx.conf file (to add your ip, port and root folder)
Create a logs directory
nginx -p $PWD/c9-nginx/
nginx -s stop -p $PWD/c9-nginx/
6. Edit config.yaml to fit your needs
7. Compile the site
nanoc co bundle exec guard # to watch for changes
8. Browse to your testing server
You can access your site at projecthame.username.c9.io
The MIT License (MIT)
Copyright (c) 2013 Jim Mendenhall (Google + profile)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.