Use centralized bash file to copy configurations. (#169)

* Use centralized bash file to copy configurations.

* Typo.

* EOF.
This commit is contained in:
rojace
2019-10-22 11:07:29 +05:30
committed by Pranav Raj S
parent a7787e0f23
commit 10d3ab295c
2 changed files with 12 additions and 7 deletions
+2 -7
View File
@@ -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
Vendored
+10
View 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