Skip to content

Commit 167f77c

Browse files
committed
Merge pull request dsjoerg#14 from eric-hu/patch-1
Simplify "basic installation" notes
2 parents b0fdd28 + fefac70 commit 167f77c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ On Mac OSX, you can use homebrew as package manager: http://mxcl.github.com/home
3232
* Copy and adjust database configuration (`cp config/database.yml.example config/database.yml`)
3333
* Copy secrets configuration (`cp config/secrets.yml.example config/secrets.yml`)
3434
* Copy s3 configuration (`cp config/s3.yml.example config/s3.yml`)
35-
* Create the database ggtracker needs (`mysql -u root` and then `create database ggtracker_development;` and then `quit`)
36-
* Run migrations (`bundle exec rake db:migrate`)
35+
* Create the database ggtracker needs (`rake db:create`)
36+
* Load the latest database schema (`bundle exec rake db:schema:load`)
3737

3838
If you want to be able to upload replays, you'll need to have an
3939
Amazon S3 account. After setting that up, edit your config/s3.yml
@@ -68,9 +68,7 @@ find each other correctly.
6868
#### Ruby (rspec)
6969

7070
The first time you run tests, set up the test database with:
71-
* `mysql -u root`
72-
** `create database ggtracker_test;`
73-
** `quit`
71+
* `rake db:create`
7472
* `rake db:test:prepare`
7573

7674
To run tests: `bundle exec rspec`

0 commit comments

Comments
 (0)