Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby CSS Shell JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
bin
config
db
features
lib
log
public
script
spec
vendor/assets
.gitignore
.rspec
.rvmrc
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
config.ru

README.md

Getting Started

Ruby Version

2.1.3

RVM Gemset

loan

Database Creation

$ psql
> create database loaner_development;
> create database loaner_test;
> create user loaner_user with password '';
> grant all privileges on database loaner_development to loaner_user;
> grant all privileges on database loaner_test to loaner_user;
> alter role loaner_user with createdb;
> alter database loaner_development owner to loaner_user;
> alter database loaner_test owner to loaner_user;
> \q

Database Initialization

$ rake db:drop db:create db:migrate db:seed

How to Setup the Environment

$ echo "RACK_ENV=development" >> .env
$ echo "PORT=3000" >> .env

How to Run the Application

$ foreman start
Something went wrong with that request. Please try again.