Source of CapeDwarf Website
The site is built using awestruct, and its dependencies are best installed using the ruby gem bundler
.
-
Make sure you have a modern, sane Ruby install. The best way to install Ruby is to use RVM from https://rvm.io/
-
Install the ruby gem
bundler
gem install bundler
-
Install the necessary gems for the site. At the root of the site directory, run
bundle install
If you run Awestruct locally, it will watch for changes to your sources and regenerate the site. Run
bundle exec awestruct -d
and browse to http://localhost:4242.
To stage or publish the site, you'll need to be able to upload to the capedwarf
account on filemgmt.jboss.org
. Send your ssh key to [email protected] to get access.
To stage the site:
./publish.sh -s
The site is staged to http://stg.capedwarf.org.
To push the site live:
./publish.sh -p