Skip to content

Commit

Permalink
added the database.yml and the development database and updated the R…
Browse files Browse the repository at this point in the history
…EADME
  • Loading branch information
Jeff Kreeftmeijer committed Oct 28, 2009
1 parent 190192b commit d315b15
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.DS_Store
log/*.log
tmp/**/*
config/database.yml
db/*.sqlite3
tmp/**/*
6 changes: 1 addition & 5 deletions README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ h2. Installation

Getting the demo up and running is simple, just clone it;

bc. git://github.com/80beans/wysihat-engine-demo.git

Run the migrations;

bc. rake db:migrate
bc. git clone git://github.com/80beans/wysihat-engine-demo.git

And start your server;

Expand Down
22 changes: 22 additions & 0 deletions config/database.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# SQLite version 3.x
# gem install sqlite3-ruby (not necessary on OS X Leopard)
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
timeout: 5000

# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
adapter: sqlite3
database: db/test.sqlite3
pool: 5
timeout: 5000

production:
adapter: sqlite3
database: db/production.sqlite3
pool: 5
timeout: 5000
Binary file added db/development.sqlite3
Binary file not shown.

0 comments on commit d315b15

Please sign in to comment.