Modify `deployment/check_frontend.sh` to source the `.env` file before starting the Node.js development server. This ensures that environment variables, such as `DATABASE_URL`, are properly loaded, resolving startup errors on non-Replit environments. Also updates `replit.md` to document this fix. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 7a657272-55ba-4a79-9a2e-f1ed9bc7a528 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 21e2b3ab-3e67-45ff-819b-a2db15c27292 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/449cf7c4-c97a-45ae-8234-e5c5b8d6a84f/7a657272-55ba-4a79-9a2e-f1ed9bc7a528/dI1I79r |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| backup_db.sh | ||
| BOOTSTRAP_PRIMO_DEPLOYMENT.md | ||
| check_backend.sh | ||
| check_frontend.sh | ||
| COMANDI_RAPIDI.md | ||
| CONFIGURAZIONE_ROUTER_MIKROTIK.md | ||
| cron_detect.sh | ||
| cron_train.sh | ||
| export_db_schema.sh | ||
| fix_git_ownership.sh | ||
| fix_postgresql_auth.sh | ||
| INSTALLAZIONE_STEP_BY_STEP.md | ||
| README_DEPLOYMENT.md | ||
| restart_all.sh | ||
| RISOLUZIONE_ERRORE_POSTGRESQL.md | ||
| setup_almalinux.sh | ||
| setup_crontab.sh | ||
| setup_syslog_server.sh | ||
| update_from_git.sh | ||