File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -35,12 +35,15 @@ function update_script() {
3535
3636 msg_info " Creating Backup"
3737 cp /opt/mmdl/.env /opt/mmdl.env
38+ rm -rf /opt/mmdl
3839 msg_ok " Backup Created"
3940
4041 fetch_and_deploy_gh_release " mmdl" " intri-in/manage-my-damn-life-nextjs" " tarball"
42+ NODE_VERSION=" 22" setup_nodejs
4143
4244 msg_info " Configuring ${APP} "
4345 cd /opt/mmdl
46+ export NEXT_TELEMETRY_DISABLED=1
4447 $STD npm install
4548 $STD npm run migrate
4649 $STD npm run build
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ msg_info "Installing dependencies"
1717$STD apt-get install --no-install-recommends -y build-essential
1818msg_ok " Installed dependencies"
1919
20- NODE_VERSION=" 20 " setup_nodejs
20+ NODE_VERSION=" 22 " setup_nodejs
2121MYSQL_VERSION=" 8.0" setup_mysql
2222
2323msg_info " Setting up Database"
@@ -48,7 +48,7 @@ sed -i -e 's|db|localhost|' \
4848 -e " s|=PASSWORD|=$( openssl rand -base64 40 | tr -dc ' a-zA-Z0-9' | head -c40) |" \
4949 /opt/mmdl/.env
5050cd /opt/mmdl
51- export NEXT_TELEMETRY_DISABLE =1
51+ export NEXT_TELEMETRY_DISABLED =1
5252export CI=" true"
5353$STD npm install
5454$STD npm run migrate
You can’t perform that action at this time.
0 commit comments