No description, website, or topics provided.
Ruby CSS Shell JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
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