forked from fixin.me/fixin.me
Update database configuration steps
This commit is contained in:
parent
16b067a377
commit
6637144bae
11
README.md
11
README.md
@ -15,10 +15,6 @@ Modify configuration settings below `SETUP` comment appropriately.
|
||||
|
||||
## Database
|
||||
|
||||
cp -a config/database.yml.dist config/database.yml
|
||||
|
||||
Update database configuration.
|
||||
|
||||
Create database user and grant privileges:
|
||||
|
||||
> mysql -p
|
||||
@ -26,11 +22,12 @@ Create database user and grant privileges:
|
||||
mysql> grant all privileges on fixinme.* to fixinme@localhost;
|
||||
mysql> flush privileges;
|
||||
|
||||
Run database creation task:
|
||||
Copy config template and update database configuration:
|
||||
|
||||
RAILS_ENV="production" bundle exec rake db:create
|
||||
cp -a config/database.yml.dist config/database.yml
|
||||
|
||||
Run migrations ...
|
||||
Run database creation and migration tasks:
|
||||
|
||||
RAILS_ENV="production" bundle exec rake db:create db:migrate
|
||||
|
||||
## How to run the test suite: ...
|
||||
|
Loading…
x
Reference in New Issue
Block a user