Update deployment script to ensure persistent data management, enhance backup and restore processes, and improve error handling. Modify .gitignore to exclude sensitive production data and update deployment documentation to reflect changes. Add environment variable loading for production secrets in configuration files.
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 48s
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 48s
This commit is contained in:
11
.gitignore
vendored
11
.gitignore
vendored
@@ -149,11 +149,8 @@ gitleaks
|
||||
gitleaks.tar.gz
|
||||
osv-scanner
|
||||
|
||||
# Sensitive data (DO NOT commit production sessions!)
|
||||
# server/data/sessions.json - uncomment for production
|
||||
public/uploads
|
||||
public/uploads/*
|
||||
|
||||
# Server data files (all data files to prevent overwriting)
|
||||
server/data/
|
||||
# Sensitive / production data (DO NOT commit!)
|
||||
server/data/**
|
||||
!server/data/.gitkeep
|
||||
public/data/**
|
||||
public/uploads/**
|
||||
|
||||
Reference in New Issue
Block a user