File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed
Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,10 @@ function update_script() {
3232 systemctl stop plant-it
3333 msg_ok " Stopped $APP "
3434
35- USE_ORIGINAL_FILENAME=" true" fetch_and_deploy_gh_release " plant-it" " MDeLuise/plant-it" " singlefile" " latest" " /opt/plant-it/backend" " server.jar"
36- fetch_and_deploy_gh_release " plant-it-front" " MDeLuise/plant-it" " prebuild" " latest" " /opt/plant-it/frontend" " client.tar.gz"
35+ USE_ORIGINAL_FILENAME=" true" fetch_and_deploy_gh_release " plant-it" " MDeLuise/plant-it" " singlefile" " 0.10.0" " /opt/plant-it/backend" " server.jar"
36+ fetch_and_deploy_gh_release " plant-it-front" " MDeLuise/plant-it" " prebuild" " 0.10.0" " /opt/plant-it/frontend" " client.tar.gz"
37+ msg_warn " Application is updated to latest Web version (v0.10.0). There will be no more updates available."
38+ msg_warn " Please read: https://github.com/MDeLuise/plant-it/releases/tag/1.0.0"
3739
3840 msg_info " Starting $APP "
3941 systemctl start plant-it
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ update_os
1515
1616msg_info " Installing Dependencies"
1717$STD apt-get install -y \
18- redis \
19- nginx
18+ redis \
19+ nginx
2020msg_ok " Installed Dependencies"
2121
2222setup_mariadb
@@ -31,15 +31,15 @@ $STD mariadb -u root -e "CREATE DATABASE $DB_NAME;"
3131$STD mariadb -u root -e " CREATE USER '$DB_USER '@'localhost' IDENTIFIED BY '$DB_PASS ';"
3232$STD mariadb -u root -e " GRANT ALL ON $DB_NAME .* TO '$DB_USER '@'localhost'; FLUSH PRIVILEGES;"
3333{
34- echo " Plant-it Credentials"
35- echo " Plant-it Database User: $DB_USER "
36- echo " Plant-it Database Password: $DB_PASS "
37- echo " Plant-it Database Name: $DB_NAME "
34+ echo " Plant-it Credentials"
35+ echo " Plant-it Database User: $DB_USER "
36+ echo " Plant-it Database Password: $DB_PASS "
37+ echo " Plant-it Database Name: $DB_NAME "
3838} >> ~/plant-it.creds
3939msg_ok " Set up MariaDB"
4040
41- USE_ORIGINAL_FILENAME=" true" fetch_and_deploy_gh_release " plant-it" " MDeLuise/plant-it" " singlefile" " latest " " /opt/plant-it/backend" " server.jar"
42- fetch_and_deploy_gh_release " plant-it-front" " MDeLuise/plant-it" " prebuild" " latest " " /opt/plant-it/frontend" " client.tar.gz"
41+ USE_ORIGINAL_FILENAME=" true" fetch_and_deploy_gh_release " plant-it" " MDeLuise/plant-it" " singlefile" " 0.10.0 " " /opt/plant-it/backend" " server.jar"
42+ fetch_and_deploy_gh_release " plant-it-front" " MDeLuise/plant-it" " prebuild" " 0.10.0 " " /opt/plant-it/frontend" " client.tar.gz"
4343
4444msg_info " Configured Plant-it"
4545mkdir -p /opt/plant-it-data
You can’t perform that action at this time.
0 commit comments