File tree Expand file tree Collapse file tree 2 files changed +13
-18
lines changed
Expand file tree Collapse file tree 2 files changed +13
-18
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,10 @@ function update_script() {
4646 cp -rf ${APP} -${RELEASE} /* /opt/fluid-calendar
4747 cd /opt/fluid-calendar
4848 export NEXT_TELEMETRY_DISABLED=1
49- $STD npm run setup
50- $STD npm run build
49+ $STD npm install --legacy-peer-deps
50+ $STD npm run prisma:generate
51+ $STD npm run prisma:migrate
52+ $STD npm run build:os
5153 msg_ok " Updated $APP to v${RELEASE} "
5254
5355 msg_info " Starting $APP "
Original file line number Diff line number Diff line change @@ -59,30 +59,23 @@ echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
5959cat << EOF >/opt/fluid-calendar/.env
6060DATABASE_URL="postgresql://${DB_USER} :${DB_PASS} @localhost:5432/${DB_NAME} "
6161
62- # For OAuth integration with Google Calendar
63- # See https://console.cloud.google.com
64- GOOGLE_CLIENT_ID=""
65- GOOGLE_CLIENT_SECRET=""
66-
6762# Change the URL below to your external URL
6863NEXTAUTH_URL="http://localhost:3000"
64+ NEXT_PUBLIC_APP_URL="http://localhost:3000"
6965NEXTAUTH_SECRET="${NEXTAUTH_SECRET} "
66+ NEXT_PUBLIC_SITE_URL="http://localhost:3000"
7067
71- # For optional Outlook Calendar Integration
72- # Create at https://portal.azure.com
73- AZURE_AD_CLIENT_ID=""
74- AZURE_AD_CLIENT_SECRET=""
75- AZURE_AD_TENANT_ID=""
68+ NEXT_PUBLIC_ENABLE_SAAS_FEATURES=false
7669
77- # Logging configuration
78- # Options: debug, none (check logger.js for more details)
79- LOG_LEVEL="none"
80- DEBUG_ENABLED=0
70+ RESEND_API_KEY=
71+ RESEND_EMAIL=
8172EOF
8273export NEXT_TELEMETRY_DISABLED=1
8374cd /opt/fluid-calendar
84- $STD npm run setup
85- $STD npm run build
75+ $STD npm install --legacy-peer-deps
76+ $STD npm run prisma:generate
77+ $STD npm run prisma:migrate
78+ $STD npm run build:os
8679msg_ok " Setup ${APPLICATION} "
8780
8881msg_info " Creating Service"
You can’t perform that action at this time.
0 commit comments