Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 2 KB

README.md

File metadata and controls

51 lines (33 loc) · 2 KB

Codacy Badge FOSSA Status

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

System dependencies

Configuration

Database creation

  • Step 1: Open database.yml in config folder and set the configurations for the database
  • Step 2: Run command $ rake db:create to create the database from the root folder of the project

Database initialization

  • Step 1: cd into the project folder
  • Step 2: Run the command $ rails db:migrate

How to run the test suite

Services (job queues, cache servers, search engines, etc.)

  • mysql 5.7

Running locally with docker-compose

Start the app docker-compose up -d

Check logs docker-compose logs

Apply database migration docker-compose run --rm app rails db:create db:migrate db:seed

Deployment instructions

  • Step 1: Fork form ElePath-Ruby repository and clone it to your desktop
  • Step 2: Move into the cloned folder
  • Step 3: Download the dependencies by running the command $ bundle install
  • Step 4: Deploy localy by running the command $ rails server
  • Step 5: Go to localhost:3000 to see the app running

License

FOSSA Status