Quke demo app
A Sinatra web app packaged as a gem that is used to demonstrate https://github/DEFRA/quke
Installating the app
Add this line to your application's Gemfile
gem 'quke_demo_app'Or install it yourself as
gem install quke-demo-appRunning the app
Run the app with its default port of 4567 using
quke_demo_appYou can change the port used if there is an issue with the default
quke_demo_app --port 9876Development
After checking out the repo, run bin/setup to install dependencies. Then, run bundle exec rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.
For those new to these commands it's literally just
bin/consoleyou enter and notbundle exec bin/consoleor. bin/console.
To install this gem onto your local machine, run bundle exec rake install.
Contributing to this project
If you have an idea you'd like to contribute please log an issue.
All contributions should be submitted via a pull request.
License
THIS INFORMATION IS LICENSED UNDER THE CONDITIONS OF THE OPEN GOVERNMENT LICENCE found at:
http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3
The following attribution statement MUST be cited in your products and applications when using this information.
Contains public sector information licensed under the Open Government license v3
About the license
The Open Government Licence (OGL) was developed by the Controller of Her Majesty's Stationery Office (HMSO) to enable information providers in the public sector to license the use and re-use of their information under a common open licence.
It is designed to encourage use and re-use of information freely and flexibly, with only a few conditions.