Introduction goes here.
Add to your application's Gemfile
gem "archangel_api", github: "archangel/archangel_api"
Run the bundle command
$ bundle install
Run the install generator
$ bundle exec rails g archangel_api:install
If your server was running, restart it to find the assets properly.
Subsequent updates can be done by bumping the version in your Gemfile then adding the new migrations
$ bundle exec rails archangel_api:install:migrations
Run migrations
$ bundle exec rails db:migrate
First, generate a dummy application. You will be required to generate a dummy application before running tests.
$ bundle exec rake dummy_app
Run tests with any of the following
$ bundle exec rake
$ bundle exec rake spec
$ bundle exec rake test
$ bundle exec rspec spec
When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:
require "archangel_api/factories"
- Fork it ( https://github.com/archangel/archangel_api/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request