fenton-project / fenton_server

Restful api service for the Fenton Project

Home Page:http://fenton-project.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fenton Server

Provides a signed SSH key for authentication to a server running OpenSSH 5.9+ and configured to use SSH Certificate authentication all via a restful api service for the Fenton Project

Fenton Project - SSH Key Management

Production Deployment

Not recommended at this time

Developer Setup

Getting started

git clone git@github.com:fenton-project/fenton_server.git
cd fenton_server
bundle install
bundle exec rackup

Ruby version

See Gemfile

System dependencies

ssh-keygen 5.9+

Configuration

None

Database deletion, creation & initialization

bundle exec ./bin/rails db:environment:set RAILS_ENV=development
bundle exec rake db:drop && bundle exec rake db:setup

How to run the test suite

bundle exec rake test

Generate integration tests

bundle exec ./bin/rails generate integration_test <name>

Services (job queues, cache servers, search engines, etc.)

None

Generate scaffolds

bundle exec ./bin/rails g scaffold <name> <column>:<type> --api
# edit the database migration if necessary
bundle exec b rake db:migrate

Generate a database migration

bundle exec ./bin/rails g migration AddColumnToTable <column>:<type>

Contributing

  • Open an issue (please note if you'll be working on it or need assistance)
  • Fork the project and do your work in a topic branch.
  • Rebase your branch to make sure everything is up to date.
  • Commit your changes & tests, then send a pull request.

License

Author

Nick Willever (nickwillever@gmail.com)

Copyright

Copyright (c) 2013-2016 Nick Willever

License

Apache License, Version 2.0

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Restful api service for the Fenton Project

http://fenton-project.github.io/

License:Apache License 2.0


Languages

Language:Ruby 100.0%