diff --git a/scripts/installOneBacklog.sh b/scripts/installOneBacklog.sh index 6d29af1e..7606f9a4 100644 --- a/scripts/installOneBacklog.sh +++ b/scripts/installOneBacklog.sh @@ -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" diff --git a/scripts/installScripts.sh b/scripts/installScripts.sh index fda76b99..2c436e4a 100644 --- a/scripts/installScripts.sh +++ b/scripts/installScripts.sh @@ -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" TARGET_DIR=erik@onebacklog.net:/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" diff --git a/scripts/uploadNewVersion.sh b/scripts/uploadNewVersion.sh index 66b4d23e..48ac4030 100644 --- a/scripts/uploadNewVersion.sh +++ b/scripts/uploadNewVersion.sh @@ -5,8 +5,8 @@ TARGET_DIR=erik@onebacklog.net:/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"