README.md in master_data_tool-0.6.0 vs README.md in master_data_tool-0.7.0
- old
+ new
@@ -155,27 +155,26 @@
```
export DB_HOST=127.0.0.1
export DB_PORT=`docker port master_data_tool_mysql57 3306 | cut -f 2 -d ':'`
export DB_USERNAME=root
-export DB_PASSWORD=
+export DB_PASSWORD=f3WpxNreVT2NgQry
+export DB_NAME=master_data_tool_test
```
- dockerでMySQLを立ち上げるたびにポートは変わるのでDB_PORTは都度設定する
- direnvを使っているならば `direnv reload` すればいい
```
-cd spec/dummy-rails52/
-RAILS_ENV=test bundle exec rake db:create
-RAILS_ENV=test bundle exec rake db:migrate
+./scripts/setup.sh
```
## rspec
```
-bundle exec appraisal rails52 rspec
-bundle exec appraisal rails61 rspec
-bundle exec appraisal rails70 rspec
+bundle exec appraisal activerecord52 rspec
+bundle exec appraisal activerecord61 rspec
+bundle exec appraisal activerecord70 rspec
```
## Contributing