x
This commit is contained in:
1 parent
537b6d3bca
commit
b3192ae99e
1 file changed
+6
@@ -82,6 +82,9 @@ rsync -av --delete \
|
||||
rsync -av packages/ $TARGET_BACKEND/packages/
|
||||
|
||||
cp package.json bun.lock ecosystem.config.js $TARGET_BACKEND/
|
||||
# Rewrite ecosystem.config.js on the fly for pkh
|
||||
sed -i 's/homaroma/pkh/g' $TARGET_BACKEND/ecosystem.config.js
|
||||
sed -i 's/PORT: 3002/PORT: 3003/g' $TARGET_BACKEND/ecosystem.config.js
|
||||
|
||||
cd $TARGET_BACKEND
|
||||
echo "Installing backend dependencies..."
|
||||
@@ -127,6 +130,9 @@ rsync -av \
|
||||
$TEMP_DIR/apps/website/.next/static/ $TARGET_WEBSITE/apps/website/.next/static/
|
||||
|
||||
cp $TEMP_DIR/ecosystem.config.js $TARGET_WEBSITE/
|
||||
# Rewrite ecosystem.config.js on the fly for pkh
|
||||
sed -i 's/homaroma/pkh/g' $TARGET_WEBSITE/ecosystem.config.js
|
||||
sed -i 's/PORT: 3002/PORT: 3003/g' $TARGET_WEBSITE/ecosystem.config.js
|
||||
|
||||
# I. Fix Permissions
|
||||
echo ">>> Fixing Permissions..."
|
||||
|
||||
Reference in new issue
Block a user