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.
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.
git clone [email protected]:jimjimovich/starryhope-nanoc.git
cd starryhope-nanoc
vagrant up
vagrant ssh
cd /vagrant
sudo service nginx restart # needed first time only
nanoc co
5. Browse to http://localhost:8080 to see the results!
Getting started with 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)
bundle install
c9pm install nginx
Generate your nginx.conf file (to add your ip, port and root folder)
c9-nginx/generate-conf.sh
Create a logs directory
mkdir c9-nginx/logs
Start nginx
nginx -p $PWD/c9-nginx/
Stop nginx
nginx -s stop -p $PWD/c9-nginx/
nanoc co
bundle exec guard # to watch for changes
You can access your site at projecthame.username.c9.io
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.