Skip to content

Commit

Permalink
Update installation scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikVerheul committed Sep 22, 2023
1 parent e63b552 commit 7884442
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions scripts/installOneBacklog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ cp index.html $WEB_DIR
cp favicon.ico $WEB_DIR
cp maintenance.html $WEB_DIR
cp app.js $PM2_DIR
cp -av css $WEB_DIR
cp -av assets $WEB_DIR
cp -av img $WEB_DIR
cp -av js $WEB_DIR
echo "Check the new contents"
ls -al $WEB_DIR
echo "Done refreshing app version"
2 changes: 1 addition & 1 deletion scripts/installScripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ echo "Update the target directory in this script before you run it"
echo "Run this script from the app install directory as scripts/installScripts.sh"
[email protected]:/home/erik
echo "This script copies the server side scripts to : $TARGET_DIR"
echo "Copy the scripts removeOldUpload.sh and installOneBacklog.sh to your home directory at your developemt host to run them from there"
echo "Copy the scripts removeOldUpload.sh and installOneBacklog.sh to your home directory at your application server to run them from there"
scp scripts/removeOldUpload.sh scripts/installOneBacklog.sh $TARGET_DIR
echo "Upload is done"
4 changes: 2 additions & 2 deletions scripts/uploadNewVersion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ [email protected]:/home/erik
echo "The target directory is set to: $TARGET_DIR"
echo "The files index.html, favicon.ico and maintenance.tml will be copied to your target directory:"
scp dist/index.html dist/favicon.ico dist/maintenance.html $TARGET_DIR
echo "The folders css, img, js will be copied to your target directory:"
scp -r dist/css dist/img dist/js $TARGET_DIR
echo "The folders assets and img will be copied to your target directory:"
scp -r dist/assets dist/img $TARGET_DIR
echo "Copy the e-mail service app"
scp dist/../nodejs/app.js $TARGET_DIR
echo "Upload is done"

0 comments on commit 7884442

Please sign in to comment.