[{"data":1,"prerenderedAt":995},["ShallowReactive",2],{"navigation":3,"-deploy-providers-zerops":445,"-deploy-providers-zerops-surround":991},[4,123,260,266,430,442],{"title":5,"path":6,"stem":7,"children":8,"icon":122},"","\u002Fdocs","1.docs\u002F1.index",[9,12,17,22,27,32,37,42,47,52,57,62,67,72,77,82,87,92,97,102,107,112,117],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-compass",{"title":13,"path":14,"stem":15,"icon":16},"Quick Start","\u002Fdocs\u002Fquick-start","1.docs\u002F2.quick-start","i-lucide-zap",{"title":18,"path":19,"stem":20,"icon":21},"Renderer","\u002Fdocs\u002Frenderer","1.docs\u002F4.renderer","ri:layout-masonry-line",{"title":23,"path":24,"stem":25,"icon":26},"Routing","\u002Fdocs\u002Frouting","1.docs\u002F5.routing","ri:direction-line",{"title":28,"path":29,"stem":30,"icon":31},"Assets","\u002Fdocs\u002Fassets","1.docs\u002F50.assets","ri:image-2-line",{"title":33,"path":34,"stem":35,"icon":36},"Configuration","\u002Fdocs\u002Fconfiguration","1.docs\u002F50.configuration","ri:settings-3-line",{"title":38,"path":39,"stem":40,"icon":41},"Database","\u002Fdocs\u002Fdatabase","1.docs\u002F50.database","ri:database-2-line",{"title":43,"path":44,"stem":45,"icon":46},"Lifecycle","\u002Fdocs\u002Flifecycle","1.docs\u002F50.lifecycle","i-lucide-layers",{"title":48,"path":49,"stem":50,"icon":51},"OpenAPI","\u002Fdocs\u002Fopenapi","1.docs\u002F50.openapi","ri:contract-line",{"title":53,"path":54,"stem":55,"icon":56},"Plugins","\u002Fdocs\u002Fplugins","1.docs\u002F50.plugins","ri:plug-line",{"title":58,"path":59,"stem":60,"icon":61},"Prerendering","\u002Fdocs\u002Fprerendering","1.docs\u002F50.prerendering","ri:file-copy-2-line",{"title":63,"path":64,"stem":65,"icon":66},"Tasks","\u002Fdocs\u002Ftasks","1.docs\u002F50.tasks","codicon:run-all",{"title":68,"path":69,"stem":70,"icon":71},"WebSocket","\u002Fdocs\u002Fwebsocket","1.docs\u002F50.websocket","ri:broadcast-fill",{"title":73,"path":74,"stem":75,"icon":76},"Modules","\u002Fdocs\u002Fmodules","1.docs\u002F55.modules","i-lucide-puzzle",{"title":78,"path":79,"stem":80,"icon":81},"Server Entry","\u002Fdocs\u002Fserver-entry","1.docs\u002F6.server-entry","ri:server-line",{"title":83,"path":84,"stem":85,"icon":86},"CLI","\u002Fdocs\u002Fcli","1.docs\u002F60.cli","i-lucide-terminal",{"title":88,"path":89,"stem":90,"icon":91},"Vite","\u002Fdocs\u002Fvite","1.docs\u002F61.vite","i-logos-vitejs",{"title":93,"path":94,"stem":95,"icon":96},"Utils","\u002Fdocs\u002Futils","1.docs\u002F62.utils","i-lucide-braces",{"title":98,"path":99,"stem":100,"icon":101},"TypeScript","\u002Fdocs\u002Ftypescript","1.docs\u002F63.typescript","i-logos-typescript-icon",{"title":103,"path":104,"stem":105,"icon":106},"Cache","\u002Fdocs\u002Fcache","1.docs\u002F7.cache","ri:speed-line",{"title":108,"path":109,"stem":110,"icon":111},"KV Storage","\u002Fdocs\u002Fstorage","1.docs\u002F8.storage","carbon:datastore",{"title":113,"path":114,"stem":115,"icon":116},"Migration Guide","\u002Fdocs\u002Fmigration","1.docs\u002F99.migration","ri:arrow-right-up-line",{"title":118,"path":119,"stem":120,"icon":121},"Nightly Channel","\u002Fdocs\u002Fnightly","1.docs\u002F99.nightly","ri:moon-fill","i-lucide-book-open",{"title":124,"path":125,"stem":126,"children":127,"icon":129},"Deploy","\u002Fdeploy","2.deploy\u002F0.index",[128,130,155],{"title":124,"path":125,"stem":126,"icon":129},"ri:upload-cloud-2-line",{"title":131,"path":132,"stem":133,"children":134,"page":154},"Runtimes","\u002Fdeploy\u002Fruntimes","2.deploy\u002F10.runtimes",[135,140,145,150],{"title":136,"path":137,"stem":138,"icon":139},"Node.js","\u002Fdeploy\u002Fruntimes\u002Fnode","2.deploy\u002F10.runtimes\u002F1.node","akar-icons:node-fill",{"title":141,"path":142,"stem":143,"icon":144},"Bun","\u002Fdeploy\u002Fruntimes\u002Fbun","2.deploy\u002F10.runtimes\u002Fbun","simple-icons:bun",{"title":146,"path":147,"stem":148,"icon":149},"Deno","\u002Fdeploy\u002Fruntimes\u002Fdeno","2.deploy\u002F10.runtimes\u002Fdeno","simple-icons:deno",{"title":151,"path":152,"stem":153},"Standard","\u002Fdeploy\u002Fruntimes\u002Fstandard","2.deploy\u002F10.runtimes\u002Fstandard",false,{"title":156,"path":157,"stem":158,"children":159,"page":154},"Providers","\u002Fdeploy\u002Fproviders","2.deploy\u002F20.providers",[160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,256],{"title":161,"path":162,"stem":163},"Alwaysdata","\u002Fdeploy\u002Fproviders\u002Falwaysdata","2.deploy\u002F20.providers\u002Falwaysdata",{"title":165,"path":166,"stem":167},"AWS Lambda","\u002Fdeploy\u002Fproviders\u002Faws","2.deploy\u002F20.providers\u002Faws",{"title":169,"path":170,"stem":171},"AWS Amplify","\u002Fdeploy\u002Fproviders\u002Faws-amplify","2.deploy\u002F20.providers\u002Faws-amplify",{"title":173,"path":174,"stem":175},"Azure","\u002Fdeploy\u002Fproviders\u002Fazure","2.deploy\u002F20.providers\u002Fazure",{"title":177,"path":178,"stem":179},"Cleavr","\u002Fdeploy\u002Fproviders\u002Fcleavr","2.deploy\u002F20.providers\u002Fcleavr",{"title":181,"path":182,"stem":183},"Cloudflare","\u002Fdeploy\u002Fproviders\u002Fcloudflare","2.deploy\u002F20.providers\u002Fcloudflare",{"title":185,"path":186,"stem":187},"Deno Deploy","\u002Fdeploy\u002Fproviders\u002Fdeno-deploy","2.deploy\u002F20.providers\u002Fdeno-deploy",{"title":189,"path":190,"stem":191},"DigitalOcean","\u002Fdeploy\u002Fproviders\u002Fdigitalocean","2.deploy\u002F20.providers\u002Fdigitalocean",{"title":193,"path":194,"stem":195},"EdgeOne Pages","\u002Fdeploy\u002Fproviders\u002Fedgeone","2.deploy\u002F20.providers\u002Fedgeone",{"title":197,"path":198,"stem":199},"Firebase","\u002Fdeploy\u002Fproviders\u002Ffirebase","2.deploy\u002F20.providers\u002Ffirebase",{"title":201,"path":202,"stem":203},"Flightcontrol","\u002Fdeploy\u002Fproviders\u002Fflightcontrol","2.deploy\u002F20.providers\u002Fflightcontrol",{"title":205,"path":206,"stem":207},"Genezio","\u002Fdeploy\u002Fproviders\u002Fgenezio","2.deploy\u002F20.providers\u002Fgenezio",{"title":209,"path":210,"stem":211},"GitHub Pages","\u002Fdeploy\u002Fproviders\u002Fgithub-pages","2.deploy\u002F20.providers\u002Fgithub-pages",{"title":213,"path":214,"stem":215},"GitLab Pages","\u002Fdeploy\u002Fproviders\u002Fgitlab-pages","2.deploy\u002F20.providers\u002Fgitlab-pages",{"title":217,"path":218,"stem":219},"Heroku","\u002Fdeploy\u002Fproviders\u002Fheroku","2.deploy\u002F20.providers\u002Fheroku",{"title":221,"path":222,"stem":223},"IIS","\u002Fdeploy\u002Fproviders\u002Fiis","2.deploy\u002F20.providers\u002Fiis",{"title":225,"path":226,"stem":227},"Koyeb","\u002Fdeploy\u002Fproviders\u002Fkoyeb","2.deploy\u002F20.providers\u002Fkoyeb",{"title":229,"path":230,"stem":231},"Netlify","\u002Fdeploy\u002Fproviders\u002Fnetlify","2.deploy\u002F20.providers\u002Fnetlify",{"title":233,"path":234,"stem":235},"Platform.sh","\u002Fdeploy\u002Fproviders\u002Fplatform-sh","2.deploy\u002F20.providers\u002Fplatform-sh",{"title":237,"path":238,"stem":239},"Render.com","\u002Fdeploy\u002Fproviders\u002Frender","2.deploy\u002F20.providers\u002Frender",{"title":241,"path":242,"stem":243},"Stormkit","\u002Fdeploy\u002Fproviders\u002Fstormkit","2.deploy\u002F20.providers\u002Fstormkit",{"title":245,"path":246,"stem":247},"Vercel","\u002Fdeploy\u002Fproviders\u002Fvercel","2.deploy\u002F20.providers\u002Fvercel",{"title":249,"path":250,"stem":251},"Zeabur","\u002Fdeploy\u002Fproviders\u002Fzeabur","2.deploy\u002F20.providers\u002Fzeabur",{"title":253,"path":254,"stem":255},"Zephyr Cloud","\u002Fdeploy\u002Fproviders\u002Fzephyr","2.deploy\u002F20.providers\u002Fzephyr",{"title":257,"path":258,"stem":259},"Zerops","\u002Fdeploy\u002Fproviders\u002Fzerops","2.deploy\u002F20.providers\u002Fzerops",{"title":261,"path":262,"stem":263,"children":264,"icon":36},"Config","\u002Fconfig","3.config\u002F0.index",[265],{"title":261,"path":262,"stem":263,"icon":36},{"title":267,"path":268,"stem":269,"children":270,"icon":272},"Examples","\u002Fexamples","4.examples\u002F0.index",[271,273,278,283,288,293,297,302,307,312,317,322,327,331,336,340,344,349,354,359,364,369,374,379,383,388,393,398,402,407,412,416,421,426],{"title":267,"path":268,"stem":269,"icon":272},"i-lucide-folder-code",{"title":274,"path":275,"stem":276,"icon":277},"API Routes","\u002Fexamples\u002Fapi-routes","4.examples\u002Fapi-routes","i-lucide-route",{"title":279,"path":280,"stem":281,"icon":282},"Auto Imports","\u002Fexamples\u002Fauto-imports","4.examples\u002Fauto-imports","i-lucide-import",{"title":284,"path":285,"stem":286,"icon":287},"Cached Handler","\u002Fexamples\u002Fcached-handler","4.examples\u002Fcached-handler","i-lucide-clock",{"title":289,"path":290,"stem":291,"icon":292},"Custom Error Handler","\u002Fexamples\u002Fcustom-error-handler","4.examples\u002Fcustom-error-handler","i-lucide-alert-circle",{"title":38,"path":294,"stem":295,"icon":296},"\u002Fexamples\u002Fdatabase","4.examples\u002Fdatabase","i-lucide-database",{"title":298,"path":299,"stem":300,"icon":301},"Elysia","\u002Fexamples\u002Felysia","4.examples\u002Felysia","i-skill-icons-elysia-dark",{"title":303,"path":304,"stem":305,"icon":306},"Express","\u002Fexamples\u002Fexpress","4.examples\u002Fexpress","i-simple-icons-express",{"title":308,"path":309,"stem":310,"icon":311},"Fastify","\u002Fexamples\u002Ffastify","4.examples\u002Ffastify","i-simple-icons-fastify",{"title":313,"path":314,"stem":315,"icon":316},"Hello World","\u002Fexamples\u002Fhello-world","4.examples\u002Fhello-world","i-lucide-sparkles",{"title":318,"path":319,"stem":320,"icon":321},"Hono","\u002Fexamples\u002Fhono","4.examples\u002Fhono","i-logos-hono",{"title":323,"path":324,"stem":325,"icon":326},"Import Alias","\u002Fexamples\u002Fimport-alias","4.examples\u002Fimport-alias","i-lucide-at-sign",{"title":328,"path":329,"stem":330,"icon":46},"Middleware","\u002Fexamples\u002Fmiddleware","4.examples\u002Fmiddleware",{"title":332,"path":333,"stem":334,"icon":335},"Mono JSX","\u002Fexamples\u002Fmono-jsx","4.examples\u002Fmono-jsx","i-lucide-brackets",{"title":337,"path":338,"stem":339,"icon":335},"Nano JSX","\u002Fexamples\u002Fnano-jsx","4.examples\u002Fnano-jsx",{"title":53,"path":341,"stem":342,"icon":343},"\u002Fexamples\u002Fplugins","4.examples\u002Fplugins","i-lucide-plug",{"title":345,"path":346,"stem":347,"icon":348},"Custom Renderer","\u002Fexamples\u002Frenderer","4.examples\u002Frenderer","i-lucide-code",{"title":350,"path":351,"stem":352,"icon":353},"Runtime Config","\u002Fexamples\u002Fruntime-config","4.examples\u002Fruntime-config","i-lucide-settings",{"title":355,"path":356,"stem":357,"icon":358},"Server Fetch","\u002Fexamples\u002Fserver-fetch","4.examples\u002Fserver-fetch","i-lucide-arrow-right-left",{"title":360,"path":361,"stem":362,"icon":363},"Shiki","\u002Fexamples\u002Fshiki","4.examples\u002Fshiki","i-lucide-highlighter",{"title":365,"path":366,"stem":367,"icon":368},"Takumi","\u002Fexamples\u002Ftakumi","4.examples\u002Ftakumi","i-lucide-image",{"title":370,"path":371,"stem":372,"icon":373},"Tracing","\u002Fexamples\u002Ftracing","4.examples\u002Ftracing","i-lucide-activity",{"title":375,"path":376,"stem":377,"icon":378},"Virtual Routes","\u002Fexamples\u002Fvirtual-routes","4.examples\u002Fvirtual-routes","i-lucide-box",{"title":380,"path":381,"stem":382,"icon":91},"Vite Nitro Plugin","\u002Fexamples\u002Fvite-nitro-plugin","4.examples\u002Fvite-nitro-plugin",{"title":384,"path":385,"stem":386,"icon":387},"Vite RSC","\u002Fexamples\u002Fvite-rsc","4.examples\u002Fvite-rsc","i-logos-react",{"title":389,"path":390,"stem":391,"icon":392},"Vite SSR HTML","\u002Fexamples\u002Fvite-ssr-html","4.examples\u002Fvite-ssr-html","i-logos-html-5",{"title":394,"path":395,"stem":396,"icon":397},"SSR with Preact","\u002Fexamples\u002Fvite-ssr-preact","4.examples\u002Fvite-ssr-preact","i-logos-preact",{"title":399,"path":400,"stem":401,"icon":387},"SSR with React","\u002Fexamples\u002Fvite-ssr-react","4.examples\u002Fvite-ssr-react",{"title":403,"path":404,"stem":405,"icon":406},"SSR with SolidJS","\u002Fexamples\u002Fvite-ssr-solid","4.examples\u002Fvite-ssr-solid","i-logos-solidjs-icon",{"title":408,"path":409,"stem":410,"icon":411},"SSR with TanStack Router","\u002Fexamples\u002Fvite-ssr-tsr-react","4.examples\u002Fvite-ssr-tsr-react","i-simple-icons-tanstack",{"title":413,"path":414,"stem":415,"icon":411},"SSR with TanStack Start","\u002Fexamples\u002Fvite-ssr-tss-react","4.examples\u002Fvite-ssr-tss-react",{"title":417,"path":418,"stem":419,"icon":420},"SSR with Vue Router","\u002Fexamples\u002Fvite-ssr-vue-router","4.examples\u002Fvite-ssr-vue-router","i-logos-vue",{"title":422,"path":423,"stem":424,"icon":425},"Vite + tRPC","\u002Fexamples\u002Fvite-trpc","4.examples\u002Fvite-trpc","i-simple-icons-trpc",{"title":68,"path":427,"stem":428,"icon":429},"\u002Fexamples\u002Fwebsocket","4.examples\u002Fwebsocket","i-lucide-radio",{"title":431,"path":432,"stem":433,"children":434},"Blog","\u002Fblog","9.blog",[435,438],{"title":431,"path":432,"stem":436,"icon":437},"9.blog\u002Findex","i-lucide-file-text",{"title":439,"path":440,"stem":441,"icon":437},"Nitro v3 Beta is here!","\u002Fblog\u002Fv3-beta","9.blog\u002F1.v3-beta",{"title":5,"path":443,"stem":444},"\u002F","index",{"id":446,"title":257,"body":447,"description":985,"extension":986,"meta":987,"navigation":988,"path":258,"seo":989,"stem":259,"__hash__":990},"content\u002F2.deploy\u002F20.providers\u002Fzerops.md",{"type":448,"value":449,"toc":981},"minimark",[450,462,467,470,475,494,641,648,918,938,942,951,954,958,964,967,977],[451,452,453,457,458],"p",{},[454,455,456],"strong",{},"Preset:"," ",[459,460,461],"code",{},"zerops",[463,464],"read-more",{"title":465,"to":466},"zerops.io","https:\u002F\u002Fzerops.io",[451,468,469],{},"Zerops supports deploying both static and server-side rendered apps with a simple configuration file in your project root.",[471,472,474],"h2",{"id":473},"project-setup","Project setup",[451,476,477,478,485,486,489,490,493],{},"Projects and services can be added through the ",[479,480,484],"a",{"href":481,"rel":482},"https:\u002F\u002Fapp.zerops.io",[483],"nofollow","Zerops dashboard"," by clicking ",[454,487,488],{},"Import a project",", or imported using ",[459,491,492],{},"zerops-project-import.yaml",".",[495,496,497,584],"code-group",{},[498,499,504],"pre",{"className":500,"code":501,"filename":502,"language":503,"meta":5,"style":5},"language-yml shiki shiki-themes github-light github-dark github-dark","project:\n  name: nitro-app\n\nservices:\n  - hostname: app\n    type: nodejs@22\n    enableSubdomainAccess: true\n","zerops-project-import.yaml (node.js)","yml",[459,505,506,519,532,539,547,561,572],{"__ignoreMap":5},[507,508,511,515],"span",{"class":509,"line":510},"line",1,[507,512,514],{"class":513},"sByVh","project",[507,516,518],{"class":517},"slsVL",":\n",[507,520,522,525,528],{"class":509,"line":521},2,[507,523,524],{"class":513},"  name",[507,526,527],{"class":517},": ",[507,529,531],{"class":530},"sfrk1","nitro-app\n",[507,533,535],{"class":509,"line":534},3,[507,536,538],{"emptyLinePlaceholder":537},true,"\n",[507,540,542,545],{"class":509,"line":541},4,[507,543,544],{"class":513},"services",[507,546,518],{"class":517},[507,548,550,553,556,558],{"class":509,"line":549},5,[507,551,552],{"class":517},"  - ",[507,554,555],{"class":513},"hostname",[507,557,527],{"class":517},[507,559,560],{"class":530},"app\n",[507,562,564,567,569],{"class":509,"line":563},6,[507,565,566],{"class":513},"    type",[507,568,527],{"class":517},[507,570,571],{"class":530},"nodejs@22\n",[507,573,575,578,580],{"class":509,"line":574},7,[507,576,577],{"class":513},"    enableSubdomainAccess",[507,579,527],{"class":517},[507,581,583],{"class":582},"suiK_","true\n",[498,585,588],{"className":500,"code":586,"filename":587,"language":503,"meta":5,"style":5},"project:\n  name: nitro-app\n\nservices:\n  - hostname: app\n    type: static\n    enableSubdomainAccess: true\n","zerops-project-import.yaml (static)",[459,589,590,596,604,608,614,624,633],{"__ignoreMap":5},[507,591,592,594],{"class":509,"line":510},[507,593,514],{"class":513},[507,595,518],{"class":517},[507,597,598,600,602],{"class":509,"line":521},[507,599,524],{"class":513},[507,601,527],{"class":517},[507,603,531],{"class":530},[507,605,606],{"class":509,"line":534},[507,607,538],{"emptyLinePlaceholder":537},[507,609,610,612],{"class":509,"line":541},[507,611,544],{"class":513},[507,613,518],{"class":517},[507,615,616,618,620,622],{"class":509,"line":549},[507,617,552],{"class":517},[507,619,555],{"class":513},[507,621,527],{"class":517},[507,623,560],{"class":530},[507,625,626,628,630],{"class":509,"line":563},[507,627,566],{"class":513},[507,629,527],{"class":517},[507,631,632],{"class":530},"static\n",[507,634,635,637,639],{"class":509,"line":574},[507,636,577],{"class":513},[507,638,527],{"class":517},[507,640,583],{"class":582},[451,642,643,644,647],{},"Then create a ",[459,645,646],{},"zerops.yaml"," config in your project root:",[495,649,650,821],{},[498,651,654],{"className":500,"code":652,"filename":653,"language":503,"meta":5,"style":5},"zerops:\n  - setup: app\n    build:\n      base: nodejs@22\n      envVariables:\n        NITRO_PRESET: zerops\n      buildCommands:\n        - pnpm i\n        - pnpm run build\n      deployFiles:\n        - .output\n        - package.json\n        - node_modules\n    run:\n      base: nodejs@22\n      ports:\n        - port: 3000\n          httpSupport: true\n      start: node .output\u002Fserver\u002Findex.mjs\n","zerops.yaml (node.js)",[459,655,656,662,673,680,689,696,706,713,722,730,738,746,754,762,770,779,787,800,810],{"__ignoreMap":5},[507,657,658,660],{"class":509,"line":510},[507,659,461],{"class":513},[507,661,518],{"class":517},[507,663,664,666,669,671],{"class":509,"line":521},[507,665,552],{"class":517},[507,667,668],{"class":513},"setup",[507,670,527],{"class":517},[507,672,560],{"class":530},[507,674,675,678],{"class":509,"line":534},[507,676,677],{"class":513},"    build",[507,679,518],{"class":517},[507,681,682,685,687],{"class":509,"line":541},[507,683,684],{"class":513},"      base",[507,686,527],{"class":517},[507,688,571],{"class":530},[507,690,691,694],{"class":509,"line":549},[507,692,693],{"class":513},"      envVariables",[507,695,518],{"class":517},[507,697,698,701,703],{"class":509,"line":563},[507,699,700],{"class":513},"        NITRO_PRESET",[507,702,527],{"class":517},[507,704,705],{"class":530},"zerops\n",[507,707,708,711],{"class":509,"line":574},[507,709,710],{"class":513},"      buildCommands",[507,712,518],{"class":517},[507,714,716,719],{"class":509,"line":715},8,[507,717,718],{"class":517},"        - ",[507,720,721],{"class":530},"pnpm i\n",[507,723,725,727],{"class":509,"line":724},9,[507,726,718],{"class":517},[507,728,729],{"class":530},"pnpm run build\n",[507,731,733,736],{"class":509,"line":732},10,[507,734,735],{"class":513},"      deployFiles",[507,737,518],{"class":517},[507,739,741,743],{"class":509,"line":740},11,[507,742,718],{"class":517},[507,744,745],{"class":530},".output\n",[507,747,749,751],{"class":509,"line":748},12,[507,750,718],{"class":517},[507,752,753],{"class":530},"package.json\n",[507,755,757,759],{"class":509,"line":756},13,[507,758,718],{"class":517},[507,760,761],{"class":530},"node_modules\n",[507,763,765,768],{"class":509,"line":764},14,[507,766,767],{"class":513},"    run",[507,769,518],{"class":517},[507,771,773,775,777],{"class":509,"line":772},15,[507,774,684],{"class":513},[507,776,527],{"class":517},[507,778,571],{"class":530},[507,780,782,785],{"class":509,"line":781},16,[507,783,784],{"class":513},"      ports",[507,786,518],{"class":517},[507,788,790,792,795,797],{"class":509,"line":789},17,[507,791,718],{"class":517},[507,793,794],{"class":513},"port",[507,796,527],{"class":517},[507,798,799],{"class":582},"3000\n",[507,801,803,806,808],{"class":509,"line":802},18,[507,804,805],{"class":513},"          httpSupport",[507,807,527],{"class":517},[507,809,583],{"class":582},[507,811,813,816,818],{"class":509,"line":812},19,[507,814,815],{"class":513},"      start",[507,817,527],{"class":517},[507,819,820],{"class":530},"node .output\u002Fserver\u002Findex.mjs\n",[498,822,825],{"className":500,"code":823,"filename":824,"language":503,"meta":5,"style":5},"zerops:\n  - setup: app\n    build:\n      base: nodejs@22\n      envVariables:\n        NITRO_PRESET: zerops_static\n      buildCommands:\n        - pnpm i\n        - pnpm build\n      deployFiles:\n        - .zerops\u002Foutput\u002Fstatic\u002F~\n    run:\n      base: static\n","zerops.yaml (static)",[459,826,827,833,843,849,857,863,872,878,884,891,897,904,910],{"__ignoreMap":5},[507,828,829,831],{"class":509,"line":510},[507,830,461],{"class":513},[507,832,518],{"class":517},[507,834,835,837,839,841],{"class":509,"line":521},[507,836,552],{"class":517},[507,838,668],{"class":513},[507,840,527],{"class":517},[507,842,560],{"class":530},[507,844,845,847],{"class":509,"line":534},[507,846,677],{"class":513},[507,848,518],{"class":517},[507,850,851,853,855],{"class":509,"line":541},[507,852,684],{"class":513},[507,854,527],{"class":517},[507,856,571],{"class":530},[507,858,859,861],{"class":509,"line":549},[507,860,693],{"class":513},[507,862,518],{"class":517},[507,864,865,867,869],{"class":509,"line":563},[507,866,700],{"class":513},[507,868,527],{"class":517},[507,870,871],{"class":530},"zerops_static\n",[507,873,874,876],{"class":509,"line":574},[507,875,710],{"class":513},[507,877,518],{"class":517},[507,879,880,882],{"class":509,"line":715},[507,881,718],{"class":517},[507,883,721],{"class":530},[507,885,886,888],{"class":509,"line":724},[507,887,718],{"class":517},[507,889,890],{"class":530},"pnpm build\n",[507,892,893,895],{"class":509,"line":732},[507,894,735],{"class":513},[507,896,518],{"class":517},[507,898,899,901],{"class":509,"line":740},[507,900,718],{"class":517},[507,902,903],{"class":530},".zerops\u002Foutput\u002Fstatic\u002F~\n",[507,905,906,908],{"class":509,"line":748},[507,907,767],{"class":513},[507,909,518],{"class":517},[507,911,912,914,916],{"class":509,"line":756},[507,913,684],{"class":513},[507,915,527],{"class":517},[507,917,632],{"class":530},[451,919,920,921,925,926,931,932,937],{},"Now you can trigger the ",[479,922,924],{"href":923},"#build-and-deploy","build & deploy pipeline using the Zerops CLI"," or by connecting the app service with your ",[479,927,930],{"href":928,"rel":929},"https:\u002F\u002Fdocs.zerops.io\u002Freferences\u002Fgithub-integration\u002F",[483],"GitHub"," \u002F ",[479,933,936],{"href":934,"rel":935},"https:\u002F\u002Fdocs.zerops.io\u002Freferences\u002Fgitlab-integration",[483],"GitLab"," repository from inside the service detail.",[471,939,941],{"id":940},"build-and-deploy","Build and deploy",[451,943,944,945,950],{},"Open ",[479,946,949],{"href":947,"rel":948},"https:\u002F\u002Fapp.zerops.io\u002Fsettings\u002Ftoken-management",[483],"Settings > Access Token Management"," in the Zerops app and generate a new access token.",[451,952,953],{},"Log in using your access token with the following command:",[955,956],"pm-x",{"command":957},"@zerops\u002Fzcli login \u003Ctoken>",[451,959,960,961,963],{},"Navigate to the root of your app (where ",[459,962,646],{}," is located) and run the following command to trigger the deploy:",[955,965],{"command":966},"@zerops\u002Fzcli push",[451,968,969,970,931,973,976],{},"Your code can be deployed automatically on each commit or a new tag by connecting the service with your ",[479,971,930],{"href":928,"rel":972},[483],[479,974,936],{"href":934,"rel":975},[483]," repository. This connection can be set up in the service detail.",[978,979,980],"style",{},"html pre.shiki code .sByVh, html code.shiki .sByVh{--shiki-light:#22863A;--shiki-default:#85E89D;--shiki-dark:#85E89D}html pre.shiki code .slsVL, html code.shiki .slsVL{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}html pre.shiki code .sfrk1, html code.shiki .sfrk1{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF}html pre.shiki code .suiK_, html code.shiki .suiK_{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#79B8FF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":5,"searchDepth":521,"depth":521,"links":982},[983,984],{"id":473,"depth":521,"text":474},{"id":940,"depth":521,"text":941},"Deploy Nitro apps to Zerops.","md",{},{},{"title":257,"description":985},"RtGp-lku1q_C7J-eIDoOASfMiDtNqDGwGjqSitW9LJc",[992,994],{"title":253,"path":254,"stem":255,"description":993,"children":-1},"Deploy Nitro apps to Zephyr Cloud.",{"title":261,"path":262,"stem":263,"description":5,"icon":36,"children":-1},1784019071517]