diff --git a/README.md b/README.md index 9684ca196..765f1c483 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/configure b/configure new file mode 100644 index 000000000..a407739e7 --- /dev/null +++ b/configure @@ -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