Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Sinatra Colors

A Sinatra app for discovering and collecting color palettes, integrated with ActiveRecord and PostgreSQL. (View live demo)[sinatra-colors.herokuapp.com]

screenshot-colors

Dependencies

Colour Lovers API: http://www.colourlovers.com/api/

gem 'sinatra'
gem 'sinatra-reloader'
gem 'httparty'
gem "pg"
gem "activerecord"
gem "sinatra-activerecord"

Install

After cloning the project directory, create a database for the project in psql and replace the name:

db_url = ENV['DATABASE_URL'] || 'postgres://[username]:[password]@localhost/[db name]'

Deploying to heroku:

heroku addons:add heroku-postgresql
rake db:migrate

About

A Sinatra app for discovering and collecting color palettes

Resources

Releases

No releases published
You can’t perform that action at this time.