new-website

new-website

Moving from Jekyll to Sinatra

EdinSolar site

Dependencies

  • Ruby (>= 2.0.0 preferably)
    • RVM is highly recommended
  • Bundler (sudo) gem install bundler (Note: If you're running RVM you don't need root privileges)
  • To install the other dependencies, run bundle

Running

We're hosting the site on Heroku for the moment, so please talk to Will Mathewson (neanias) for access

To run the server locally,

bundle exec ruby main.rb

There is also a gem for development called Guard. This is "a command line tool to easily handle events on file system modifications".

One of the plugins for it that is included is LiveReload which will reload the browser when views are changed (requires the LiveReload extension)

To run Guard,

bundle exec guard