Workshift Website

Installation

###LocalIn order to install the project to be run on your computer (Development/Debug) you need to install ruby, the actual version used by the project is ruby-2.2.2 and postgresSQL Server running on your computer, but the project is much simpler to run with Docker (below).

Then, within the project directory :

Install Bundler

$ gem install bundler

Install project dependencies

$ bundle install

Setup the db (Create database, tables, applies migrations and use the seed.rb file)

$ rake db:setup

Run the server

$ bin/rails server

###DockerIn order to run the project inside a Docker container, you must install docker, docker-compose, and docker-machine on your machine. Docker allows you to create docker containers from images, docker-compose allows multiple containers to communicate, and docker-machine works with virtualbox to generate a suitable VM for docker.https://www.docker.com + https://docs.docker.com/compose/! You Do Not Need Ruby, Rails or Postgres Server installed on your machine