mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 19:48:08 +00:00
Use centralized bash file to copy configurations. (#169)
* Use centralized bash file to copy configurations. * Typo. * EOF.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user