Update tududi
This commit is contained in:
parent
dd2f0946b8
commit
e3cfe52110
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user