/levo-api

An app built with Ruby on Rails to connect Truck Drivers and Managers

Primary LanguageRubyGNU General Public License v3.0GPL-3.0

Levo-API

An app built with Ruby on Rails to connect Truck Drivers and Managers

See the project running on Heroku

Setting Up the Environment

First up, your system will need the prerequisites for running Ruby on Rails installed and PostgresSQL

Once you have these:

# Checkout the project

$ git clone https://github.com/EPTURC/levo-api

$ cd levo-api

# Install the project dependencies

$ gem install bundler

$ bundle install

# Create the local database

With psql, run: 

$ psql
$ CREATE DATABASE levo_development;

# Run the project migrations

$ rails db:migrate

# Populate the database with test data

$ rake db:seed

# Run the project

$ rails s

Contributing

Read the project guidelines for contributing