Skip to content

bzwei/approval-api

 
 

Repository files navigation

Swagger for Rails 5

This is a project to provide Swagger support inside the Ruby on Rails framework.

Prerequisites

You need to install ruby >= 2.2.2 and run:

bundle install

Getting started

Environmental variables

export SERVICE_APPROVAL_DATABASE_USERNAME=<<database_user>>
export SERVICE_APPROVAL_DATABASE_PASSSWORD=<<database_password>>
or
export DATABASE_URL=postgres://pguser:pgpass@localhost/somedatabase
export MANAGEIQ_USER=admin
export MANAGEIQ_PASSWORD=smartvm
export MANAGEIQ_HOST=localhost
export MANAGEIQ_PORT=3000

This sample was generated with the swagger-codegen project.

bin/rake db:create db:migrate
bin/rails s

To list all your routes, use:

bin/rake routes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 90.0%
  • HTML 8.3%
  • Dockerfile 1.7%