Files
FTCWebsite/.replit
abhiramtx 6a8eb826a6 Add persistent file storage and improve error handling
Refactor object storage initialization to use a dedicated function and add error handling for uploads, including a fallback to local storage.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cd9a7d26-a4e5-4215-975c-c59f4ed1f06d
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 127466ff-4d39-4e2e-bc28-80d552851c25
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/d0a1d46d-d203-4308-bc6a-312ac7c0243b/cd9a7d26-a4e5-4215-975c-c59f4ed1f06d/05bPjFc
2025-12-13 21:34:03 +00:00

44 lines
743 B
Plaintext

modules = ["web", "python-3.12", "postgresql-16"]
run = "python3 app.py"
[nix]
channel = "stable-24_05"
[deployment]
run = ["sh", "-c", "python3 app.py"]
deploymentTarget = "cloudrun"
[[ports]]
localPort = 5000
externalPort = 80
[agent]
expertMode = true
[workflows]
runButton = "Project"
[[workflows.workflow]]
name = "Project"
mode = "parallel"
author = "agent"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "Flask Server"
[[workflows.workflow]]
name = "Flask Server"
author = "agent"
[workflows.workflow.metadata]
outputType = "webview"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "python app.py"
waitForPort = 5000
[objectStorage]
defaultBucketID = "replit-objstore-47c46bdf-5951-434e-80ca-840f0bc61270"