This is part of the Wattsworth Sensor Network framework.
See http://wattsworth.net for details. This code is designed
to support the Lumen Client available at https://github.com/wattsworth/lumen-client
To run a local version of the API server do the following:
-
Install the project gems:
$> bundle install
-
Create a development database and a default user
$> rails db:migrate $ > rake local:bootstrap -
Start the development server
$> rails s
Tests are provided with rspec. To execute test suite:
-
Install the project gems
$> bundle install
-
Create a test database
$> RAILS_ENV=test rails db:migrate
-
Run rspec binstub
$> bin/rspec