User testing prototypes for Fee Remission staff application.
Middleman is used to generate static files based on the contents of the ./source/
directory.
- Slim [for html]
- SASS [for css]
- CoffeeScript [for js]
- Bower [js package management]
- Foundation [sass helpers/mixins]
- Middleman Deploy [deployment/hosting]
Ensure you have at least Ruby 2.1.0 and Node.js 0.10.x installed and Bower installed globally (npm install -g bower
).
Note: Because of OpenSSL incompatibilites on my machine with Ruby 2.1.0, I use ruby 2.1.5 and it appears to work fine.
- Install ruby dependencies
bundle install
- Install bower packages
bower install
- Build middleman
middleman build
To run the app locally and see changes as you make them:
middleman server
Then view you site at the URL displayed. Normally http://0.0.0.0:4567/.
To manually build the site:
middleman build
On each commit to master a Travis CI job will run any tests. On success it will automagically deploy to the GitHub pages URL in the description. The deploy task will also run the build
task before deploying.
To deploy manually:
middleman deploy
The changes will be deployes to http://ministryofjustice.github.io/fr-prototypes/