ManageIQ::Api is a plugin to be used in the ManageIQ project. It forms the public REST API for ManageIQ.
It is assumed you have met all prerequisites for installing the ManageIQ app, as described here
First, fork/clone the project, ideally in the same directory where you store the main ManageIQ app:
git clone git@github.com:username/manageiq-api.git
Next, run the setup script:
bin/setup
This should be sufficient to meet all development dependencies, and is to be run only once the first time you setup the plugin. During development, if you need to update the dependencies you can do so by running:
bin/update
For more details on the development setup for the ManageIQ ecosystem, please refer to the general guide.
To run the entire suite:
bundle exec rake
Or, to run an individual test:
bundle exec rspec spec/path/to/spec.rb:<line number>
Generally development is done by pointing your local clone of the ManageIQ app to your local branch of the plugin, as described in this section of the general developer setup guide.
Please read CONTRIBUTING.md for more details on creating and submitting a pull request to ManageIQ::Api.
See LICENSE.txt.