sfrdg
This commit is contained in:
parent
101a041972
commit
4368e69dab
@ -78,9 +78,13 @@ $STD bundle config set --local deployment 'true'
|
|||||||
$STD bundle config set --local without 'development test'
|
$STD bundle config set --local without 'development test'
|
||||||
$STD bundle install
|
$STD bundle install
|
||||||
|
|
||||||
|
if [[ -f /opt/dawarich/package.json ]]; then
|
||||||
cd /opt/dawarich
|
cd /opt/dawarich
|
||||||
$STD npm install
|
$STD npm install
|
||||||
cd /opt/dawarich/app
|
cd /opt/dawarich/app
|
||||||
|
elif [[ -f /opt/dawarich/app/package.json ]]; then
|
||||||
|
$STD npm install
|
||||||
|
fi
|
||||||
|
|
||||||
$STD bundle exec rake assets:precompile
|
$STD bundle exec rake assets:precompile
|
||||||
$STD bundle exec rails db:prepare
|
$STD bundle exec rails db:prepare
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user