Make sure you have these softwares in your machine:
- Ruby (2.3.3)
- Elasticsearch (2.4.2 or greater)
- PostgreSQL (9.3 or greater)
- Redis (2.8 or greater)
-
Clone the application repository
-
Bundle the dependencies. In the app folder:
bundle install
-
Config your database.yml
sudo cp config/database.yml.sample config/database.yml
-
Create the database:
rails db:setup
-
Run the app
foreman start
-
Run the tests:
rspec
Check the api documentation:here
Enjoy :)