From 3544a631c70cd329c24cad41b2b27f3781c28269 Mon Sep 17 00:00:00 2001 From: Beat Seeliger Date: Wed, 4 Mar 2015 09:52:08 +0100 Subject: [PATCH] adapted project to run from pristine setup --- Gemfile | 2 ++ Gemfile.lock | 2 ++ README.md | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index a5bd4c0..d9ca3f4 100644 --- a/Gemfile +++ b/Gemfile @@ -48,3 +48,5 @@ end gem 'react-rails', '~> 1.0.0.pre', github: 'reactjs/react-rails' gem 'rails_12factor', group: :production + +gem 'sqlite3' diff --git a/Gemfile.lock b/Gemfile.lock index 9cc3de1..dcc46c7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -111,6 +111,7 @@ GEM actionpack (>= 3.0) activesupport (>= 3.0) sprockets (>= 2.8, < 4.0) + sqlite3 (1.3.10) therubyracer (0.12.1) libv8 (~> 3.16.14.0) ref @@ -136,5 +137,6 @@ DEPENDENCIES react-rails (~> 1.0.0.pre)! sass-rails (~> 4.0.2) sdoc + sqlite3 therubyracer uglifier (>= 1.3.0) diff --git a/README.md b/README.md index 8420e57..41d591a 100644 --- a/README.md +++ b/README.md @@ -10,5 +10,5 @@ The app displays a photo with simple list of comments and a form for adding new To get the app running: - `bundle install` -- `rake db:migrate` -- `rails server` +- `bundle exec rake db:setup` +- `bunlde exec rails server`