danielscosta / story_management

A system develop for managing stories.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Story Management

This is a ruby on rails app that creates a system of story management.

Docker is required.

Instructions:

  1. Clone this repository (you need git installed):

    git clone git@github.com:danielscosta/story_management.git

  2. Setup database:

    docker-compose run app bundle exec rake db:setup

  3. Migrate database:

    docker-compose run app bundle exec rails db:migrate

    docker-compose run test bundle exec rails db:migrate

  4. In this repository create and run the containers:

    docker-compose up app

    It will create a postgres container database and ruby container for install the ruby dependencies and start rails server on port 3000.

  5. Get a bash into app container, run:

    docker-compose run app bash

Running tests:

  1. Tests are stored in the spec folder. To run them execute:

    docker-compose up test

About

A system develop for managing stories.


Languages

Language:Ruby 77.1%Language:HTML 13.5%Language:JavaScript 6.0%Language:Dockerfile 1.8%Language:CSS 1.7%