<img src=“http://ci.eventhub.eu:8081/job/Eventhub-Api/badge/icon” />
The Eventhub API is running on Ruby on Rails. Read up on Rails documentation: guides.rubyonrails.org/
-
Clone the repository:
$ git clone [email protected]:brogrammers/eventhub-api.git
-
Make sure you are in the root directory:
$ cd eventhub-api
-
Run bundler to resolve all the dependencies:
$ bundle install
-
Run a Database migration:
$ rake db:migrate
-
Finally start the server in development mode
$ rails server -e development
We try to ensure that every line of code is tested efficiently, so make sure to supply tests.
run the existing tests with:
$ rspec
or via rake
$ rake spec