Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ On Mac OSX, you can use homebrew as package manager: http://mxcl.github.com/home
* Copy and adjust database configuration (`cp config/database.yml.example config/database.yml`)
* Copy secrets configuration (`cp config/secrets.yml.example config/secrets.yml`)
* Copy s3 configuration (`cp config/s3.yml.example config/s3.yml`)
* Create the database ggtracker needs (`mysql -u root` and then `create database ggtracker_development;` and then `quit`)
* Run migrations (`bundle exec rake db:migrate`)
* Create the database ggtracker needs (`rake db:create`)
* Load the latest database schema (`bundle exec rake db:schema:load`)

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

The first time you run tests, set up the test database with:
* `mysql -u root`
** `create database ggtracker_test;`
** `quit`
* `rake db:create`
* `rake db:test:prepare`

To run tests: `bundle exec rspec`
Expand Down