Use centralized bash file to copy configurations. (#169)
* Use centralized bash file to copy configurations. * Typo. * EOF.
This commit is contained in:
parent
a7787e0f23
commit
10d3ab295c
2 changed files with 12 additions and 7 deletions
|
@ -32,13 +32,8 @@ brew install imagemagick
|
|||
# install ruby dependencies
|
||||
bundle
|
||||
|
||||
# copy config & update the values in database and application ymls accordingly
|
||||
# ref docs for detailed instructions
|
||||
cp shared/config/database.yml config/database.yml
|
||||
cp shared/config/application.yml config/application.yml
|
||||
|
||||
# copy frontend env file
|
||||
cp .env.sample .env
|
||||
# Copy configurations
|
||||
./configure
|
||||
|
||||
# run db migrations
|
||||
bundle exec rake db:create
|
||||
|
|
10
configure
vendored
Normal file
10
configure
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
# To Copy and rename the yml files in the config directory:-
|
||||
|
||||
# copy config & update the values in database and application ymls accordingly
|
||||
# ref docs for detailed instructions
|
||||
cp shared/config/database.yml config/database.yml
|
||||
cp shared/config/application.yml config/application.yml
|
||||
|
||||
# copy frontend env file
|
||||
cp .env.sample .env
|
Loading…
Reference in a new issue