Skip to content

Devex/ruby-challenge

Repository files navigation

README

This is an example Rails application using Grape to define the API endpoints. Please see Gemfile for more details on requirements.

Installation

Using docker

In case you prefer to run the commands inside a docker container instead of on you host computer, these commands should get you started:

First you need to build the image:

docker build -t rubyapp .

Once this is completed, you can run the rspec tests:

docker run --volume "$PWD":/app:Z rubyapp bundle exec rspec

Alternatively you can also launch an interactive bash shell and execute the rspec tests from inside the container:

docker run -it --volume "$PWD":/app:Z rubyapp bash

To run the server, use the following command:

docker run --volume "$PWD":/app:Z -p 3000:3000 rubyapp

About

A small application built with RoR + Grape used for technical assessment of SE candidates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published