This software is distributed under the MIT license, see the included LICENSE.txt or the OSI page about the MIT license for more information.
Some knowledge of how to install and serve a Rails/Rack application is highly recommended!
- Grab a copy of the program, change dir to that copy,
- Install dependencies:
- Copy the
config/database.ymland edit as needed,
- Create the database if necessary:
rake db:create(CAUTION: this will create the database defined in the
productionsection of the
- Populate the database:
- Serve the app however you see fit (if you use Apache or Nginx, the simplest to set up is probably Passenger, your mileage may vary).
Create a new OAuth token
(Depending on your shell the
 might need separate escaping)
NAME: The name of the application/token to create. This is mostly relevant for logging. It is recommended to create one for each station/checkout point, but the names can fit your current naming scheme for other stuff, as only operators will see this name.
TYPE(optional): The type of operations permitted. By default/when left blank this will create a checkout-capable token. Other possible values are
depositfor a token that will allow deposits to a user's account, or
adminfor a token that will basically allow everything.