Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

Commit

Permalink
update setup tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
technoweenie committed Jul 30, 2012
1 parent 3825c21 commit f6732df
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
.bundle .bundle
*.db *.db
bin
1 change: 1 addition & 0 deletions Gemfile
@@ -1,6 +1,7 @@
source :gemcutter source :gemcutter


#gemspec #gemspec
gem 'rake'
gem 'sinatra', "~> 1.2.0" gem 'sinatra', "~> 1.2.0"
gem 'mustache', "~> 0.99.3" gem 'mustache', "~> 0.99.3"
gem 'instagram', "~> 0.6.1" gem 'instagram', "~> 0.6.1"
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Expand Up @@ -22,6 +22,7 @@ GEM
rack (1.2.2) rack (1.2.2)
rack-test (0.5.6) rack-test (0.5.6)
rack (>= 1.0) rack (>= 1.0)
rake (0.9.2.2)
ruby-hmac (0.4.0) ruby-hmac (0.4.0)
sequel (3.20.0) sequel (3.20.0)
sinatra (1.2.3) sinatra (1.2.3)
Expand All @@ -39,6 +40,7 @@ DEPENDENCIES
instagram (~> 0.6.1) instagram (~> 0.6.1)
mustache (~> 0.99.3) mustache (~> 0.99.3)
rack-test rack-test
rake
sequel (~> 3.20.0) sequel (~> 3.20.0)
sinatra (~> 1.2.0) sinatra (~> 1.2.0)
sqlite3 sqlite3
Expand Down
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -17,9 +17,9 @@ integration).
## Installation ## Installation


1. Clone the repo [from GitHub][gh]. 1. Clone the repo [from GitHub][gh].
2. `bundle install` to load the right dependencies. 2. `bundle install --binstubs` to load the right dependencies.
3. `rake db:create` to create the database. 3. `bin/rake chatgram:setup` to create the database.
4. `bundle exec rackup config.ru` to start the server. 4. `bin/rackup config.ru` to start the server.


If you don't want to use Bundler or Rubygems, you can require If you don't want to use Bundler or Rubygems, you can require
`chat_gram/app` manually and start it up like any other Rack `chat_gram/app` manually and start it up like any other Rack
Expand Down

0 comments on commit f6732df

Please sign in to comment.