Skip to content
API to manage messages between pen pals.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib/tasks
log
public
spec
tmp
vendor
.dockerignore
.gitignore
.gitlab-ci.yml
.rspec
.travis.yml
Dockerfile
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
docker-compose.ci.yml
docker-compose.prod.yml
docker-compose.staging.yml
docker-compose.yml
wait-for-postgres.sh

README.md

Pen pals API Backend

Build Status

API to manage messages between pen pals.

Installation

Requirements

This project is based on Docker container. To start using them, you have to make sure Docker Engine and Docker compose tool are installed.

Build the project

$ docker-compose build
$ docker-compose run web bundle
$ docker-compose run web rails db:create
$ docker-compose run web rails db:migrate

Start the server

$ docker-compose up

How to run the test suite

$ docker-compose run -e "RAILS_ENV=test" web rspec
You can’t perform that action at this time.