diff --git a/.replit b/.replit index 2d029dc..504daed 100644 --- a/.replit +++ b/.replit @@ -6,13 +6,34 @@ hidden = [".config", ".git", "generated-icon.png", "node_modules", "dist"] channel = "stable-24_05" [deployment] -deploymentTarget = "cloudrun" +deploymentTarget = "autoscale" build = ["npm", "run", "build"] -run = ["npm", "run", "start"] +run = ["node", "./dist/index.cjs"] [[ports]] localPort = 5000 externalPort = 80 [env] -PORT = "5000" \ No newline at end of file +PORT = "5000" + +[workflows] +runButton = "Project" + +[[workflows.workflow]] +name = "Project" +mode = "parallel" +author = "agent" + +[[workflows.workflow.tasks]] +task = "workflow.run" +args = "Start application" + +[[workflows.workflow]] +name = "Start application" +author = "agent" + +[[workflows.workflow.tasks]] +task = "shell.exec" +args = "npm run dev" +waitForPort = 5000