Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wattsworth
/
lumen-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7a9b3fa5
authored
Dec 21, 2018
by
John Doe
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update readme
parent
0a11231f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
29 deletions
README.md
README.rdoc
config/deploy.rb
README.md
0 → 100644
View file @
7a9b3fa5
# Lumen API
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`
## Development Server
To run a local version of the API server do the following:
1.
Install the project gems:
$> bundle install
2.
Create a development database and a default user
$> rails db:migrate
$> rake local:bootstrap
3.
Start the development server
$> rails s
## Testing
Tests are provided with rspec. To execute test suite:
1.
Install the project gems
$> bundle install
2.
Create a test database
$> RAILS_ENV=test rails db:migrate
3.
Run rspec binstub
$> bin/rspec
README.rdoc
deleted
100644 → 0
View file @
0a11231f
== README
This README would normally document whatever steps are necessary to get the
application up and running.
Things you may want to cover:
* Ruby version
* System dependencies
* Configuration
* Database creation
* Database initialization
* How to run the test suite
* Services (job queues, cache servers, search engines, etc.)
* Deployment instructions
* ...
Please feel free to use a different markup language if you do not plan to run
<tt>rake doc:app</tt>.
config/deploy.rb
View file @
7a9b3fa5
# config valid only for current version of Capistrano
lock
"3.
8.1
"
lock
"3.
11.0
"
set
:application
,
"lumen-api"
set
:repo_url
,
"git@git.wattsworth.net:wattsworth/control-api.git"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment