Update tududi

This commit is contained in:
vhsdream 2025-07-22 19:40:33 -04:00
parent dd2f0946b8
commit e3cfe52110
2 changed files with 6 additions and 2 deletions

View File

@ -4,7 +4,7 @@
"categories": [
12
],
"date_created": "2025-07-07",
"date_created": "2025-07-22",
"type": "ct",
"updateable": true,
"privileged": false,
@ -35,6 +35,10 @@
{
"text": "Create users like this: `cd /opt/tududi` => `npm run user:create <email> <password>`",
"type": "info"
},
{
"text": "Database location: `/opt/tududi-db`. Uploads: `/opt/tududi-uploads`",
"type": "info"
}
]
}

View File

@ -41,7 +41,7 @@ sed -e 's/^GOOGLE/# &/' \
-e "s/your_session_secret_here/$SECRET/" \
-e 's/development/production/' \
-e "\$a\DB_FILE=$DB_LOCATION/production.sqlite3" \
-e "\$a\UPLOAD_LOCATION=$UPLOAD_DIR" \
-e "\$a\TUDUDI_UPLOAD_PATH=$UPLOAD_DIR" \
/opt/tududi/backend/.env.example >/opt/tududi/backend/.env
export DB_FILE="$DB_LOCATION/production.sqlite3"
$STD npm run db:init