[{"data":1,"prerenderedAt":456},["ShallowReactive",2],{"navigation":3,"-deploy-providers-alwaysdata":234,"-deploy-providers-alwaysdata-surround":451},[4,81,228],{"title":5,"path":6,"stem":7,"children":8,"icon":10},"Getting Started","/guide","1.guide/0.index",[9,11,16,21,26,31,36,41,46,51,56,61,66,71,76],{"title":5,"path":6,"stem":7,"icon":10},"ph:book-open-duotone",{"title":12,"path":13,"stem":14,"icon":15},"Migration Guide","/guide/migration","1.guide/00.migration","ri:arrow-right-up-line",{"title":17,"path":18,"stem":19,"icon":20},"Server Utils","/guide/utils","1.guide/1.utils","ri:tools-line",{"title":22,"path":23,"stem":24,"icon":25},"Tasks","/guide/tasks","1.guide/10.tasks","codicon:run-all",{"title":27,"path":28,"stem":29,"icon":30},"Server Routes","/guide/routing","1.guide/2.routing","ri:direction-line",{"title":32,"path":33,"stem":34,"icon":35},"WebSocket","/guide/websocket","1.guide/3.websocket","cib:socket-io",{"title":37,"path":38,"stem":39,"icon":40},"KV Storage","/guide/storage","1.guide/4.storage","carbon:datastore",{"title":42,"path":43,"stem":44,"icon":45},"SQL Database","/guide/database","1.guide/5.database","ri:database-2-line",{"title":47,"path":48,"stem":49,"icon":50},"Cache","/guide/cache","1.guide/6.cache","ri:speed-line",{"title":52,"path":53,"stem":54,"icon":55},"Fetch","/guide/fetch","1.guide/7.fetch","ri:global-line",{"title":57,"path":58,"stem":59,"icon":60},"Assets","/guide/assets","1.guide/8.assets","ri:image-2-line",{"title":62,"path":63,"stem":64,"icon":65},"Plugins","/guide/plugins","1.guide/9.plugins","ri:plug-line",{"title":67,"path":68,"stem":69,"icon":70},"Configuration","/guide/configuration","1.guide/97.configuration","ri:settings-3-line",{"title":72,"path":73,"stem":74,"icon":75},"TypeScript","/guide/typescript","1.guide/98.typescript","tabler:brand-typescript",{"title":77,"path":78,"stem":79,"icon":80},"Nightly Channel","/guide/nightly","1.guide/99.nightly","ri:moon-fill",{"title":82,"path":83,"stem":84,"children":85,"icon":87},"Overview","/deploy","2.deploy/0.index",[86,88,92,122,127],{"title":82,"path":83,"stem":84,"icon":87},"ri:upload-cloud-2-line",{"title":89,"path":90,"stem":91,"icon":55},"Edge Workers","/deploy/workers","2.deploy/1.workers",{"title":93,"path":94,"stem":95,"children":96,"page":121},"Runtimes","/deploy/runtimes","2.deploy/10.runtimes",[97,102,106,111,116],{"title":98,"path":99,"stem":100,"icon":101},"Node.js","/deploy/runtimes/node","2.deploy/10.runtimes/1.node","akar-icons:node-fill",{"title":103,"path":104,"stem":105,"icon":25},"Dir","/deploy/runtimes/_dir","2.deploy/10.runtimes/_dir",{"title":107,"path":108,"stem":109,"icon":110},"WinterJS","/deploy/runtimes/_winterjs","2.deploy/10.runtimes/_winterjs","game-icons:cold-heart",{"title":112,"path":113,"stem":114,"icon":115},"Bun","/deploy/runtimes/bun","2.deploy/10.runtimes/bun","simple-icons:bun",{"title":117,"path":118,"stem":119,"icon":120},"Deno","/deploy/runtimes/deno","2.deploy/10.runtimes/deno","simple-icons:deno",false,{"title":123,"path":124,"stem":125,"icon":126},"Custom Preset","/deploy/custom-presets","2.deploy/2.custom-presets","ri:file-code-line",{"title":128,"path":129,"stem":130,"children":131,"page":121},"Providers","/deploy/providers","2.deploy/20.providers",[132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224],{"title":103,"path":133,"stem":134,"icon":135},"/deploy/providers/_dir","2.deploy/20.providers/_dir","tdesign:cloud",{"title":137,"path":138,"stem":139},"Alwaysdata","/deploy/providers/alwaysdata","2.deploy/20.providers/alwaysdata",{"title":141,"path":142,"stem":143},"AWS Lambda","/deploy/providers/aws","2.deploy/20.providers/aws",{"title":145,"path":146,"stem":147},"AWS Amplify","/deploy/providers/aws-amplify","2.deploy/20.providers/aws-amplify",{"title":149,"path":150,"stem":151},"Azure","/deploy/providers/azure","2.deploy/20.providers/azure",{"title":153,"path":154,"stem":155},"Cleavr","/deploy/providers/cleavr","2.deploy/20.providers/cleavr",{"title":157,"path":158,"stem":159},"Cloudflare","/deploy/providers/cloudflare","2.deploy/20.providers/cloudflare",{"title":161,"path":162,"stem":163},"Deno Deploy","/deploy/providers/deno-deploy","2.deploy/20.providers/deno-deploy",{"title":165,"path":166,"stem":167},"DigitalOcean","/deploy/providers/digitalocean","2.deploy/20.providers/digitalocean",{"title":169,"path":170,"stem":171},"Firebase","/deploy/providers/firebase","2.deploy/20.providers/firebase",{"title":173,"path":174,"stem":175},"Flightcontrol","/deploy/providers/flightcontrol","2.deploy/20.providers/flightcontrol",{"title":177,"path":178,"stem":179},"Genezio","/deploy/providers/genezio","2.deploy/20.providers/genezio",{"title":181,"path":182,"stem":183},"GitHub Pages","/deploy/providers/github-pages","2.deploy/20.providers/github-pages",{"title":185,"path":186,"stem":187},"GitLab Pages","/deploy/providers/gitlab-pages","2.deploy/20.providers/gitlab-pages",{"title":189,"path":190,"stem":191},"Heroku","/deploy/providers/heroku","2.deploy/20.providers/heroku",{"title":193,"path":194,"stem":195},"IIS","/deploy/providers/iis","2.deploy/20.providers/iis",{"title":197,"path":198,"stem":199},"Koyeb","/deploy/providers/koyeb","2.deploy/20.providers/koyeb",{"title":201,"path":202,"stem":203},"Netlify","/deploy/providers/netlify","2.deploy/20.providers/netlify",{"title":205,"path":206,"stem":207},"Platform.sh","/deploy/providers/platform-sh","2.deploy/20.providers/platform-sh",{"title":209,"path":210,"stem":211},"Render.com","/deploy/providers/render","2.deploy/20.providers/render",{"title":213,"path":214,"stem":215},"StormKit","/deploy/providers/stormkit","2.deploy/20.providers/stormkit",{"title":217,"path":218,"stem":219},"Vercel","/deploy/providers/vercel","2.deploy/20.providers/vercel",{"title":221,"path":222,"stem":223},"Zeabur","/deploy/providers/zeabur","2.deploy/20.providers/zeabur",{"title":225,"path":226,"stem":227},"Zerops","/deploy/providers/zerops","2.deploy/20.providers/zerops",{"title":229,"path":230,"stem":231,"children":232,"icon":70},"Config","/config","3.config/0.index",[233],{"title":229,"path":230,"stem":231,"icon":70},{"id":235,"title":137,"body":236,"description":445,"extension":446,"meta":447,"navigation":448,"path":138,"seo":449,"stem":139,"__hash__":450},"content/2.deploy/20.providers/alwaysdata.md",{"type":237,"value":238,"toc":437},"minimark",[239,251,255,260,265,283,298,302,433],[240,241,242,246,247],"p",{},[243,244,245],"strong",{},"Preset:"," ",[248,249,250],"code",{},"alwaysdata",[252,253],"read-more",{"to":254},"https://alwaysdata.com",[256,257,259],"h2",{"id":258},"set-up-application","Set up application",[261,262,264],"h3",{"id":263},"pre-requisites","Pre-requisites",[266,267,269,280],"steps",{"level":268},"4",[270,271,272,279],"h4",{},[273,274,278],"a",{"href":275,"rel":276},"https://www.alwaysdata.com/en/register/",[277],"nofollow","Register a new profile"," on alwaysdata platform if you don't have one.",[270,281,282],{},"Get a free 100Mb plan to host your app.",[284,285,286],"note",{},[240,287,288,289,293,294,297],{},"\nKeep in mind your ",[290,291,292],"em",{},"account name"," will be used to provide you a default URL in the form of ",[248,295,296],{},"account_name.alwaysdata.net",", so choose it wisely. You can also link your existing domains to your account later or register as many accounts under your profile as you need.",[261,299,301],{"id":300},"local-deployment","Local deployment",[266,303,304,310,322,426],{"level":268},[270,305,306,307],{},"Build your project locally with ",[248,308,309],{},"npm run build -- preset alwaysdata",[270,311,312,317,318,321],{},[273,313,316],{"href":314,"rel":315},"https://help.alwaysdata.com/en/remote-access/",[277],"Upload your app"," to your account in its own directory (e.g. ",[248,319,320],{},"$HOME/www/my-app","). You can use any protocol you prefer (SSH/FTP/WebDAV…) to do so.",[270,323,324,325,330,331,422],{},"On your admin panel, ",[273,326,329],{"href":327,"rel":328},"https://admin.alwaysdata.com/site/add/",[277],"create a new site"," for your app with the following features:",[332,333,334,344,350,358,367,395,414],"ul",{},[335,336,337,340,341],"li",{},[290,338,339],{},"Addresses",": ",[248,342,343],{},"[account_name].alwaysdata.net",[335,345,346,349],{},[290,347,348],{},"Type",": Node.js",[335,351,352,340,355],{},[290,353,354],{},"Command",[248,356,357],{},"node ./output/server/index.mjs",[335,359,360,340,363,366],{},[290,361,362],{},"Working directory",[248,364,365],{},"www/my-app"," (adapt it to your deployment path)",[335,368,369,372,373],{},[290,370,371],{},"Environment",":",[374,375,380],"pre",{"className":376,"code":377,"language":378,"meta":379,"style":379},"language-ini shiki shiki-themes github-light github-dark github-dark","NITRO_PRESET=alwaysdata\n","ini","",[248,381,382],{"__ignoreMap":379},[383,384,387,391],"span",{"class":385,"line":386},"line",1,[383,388,390],{"class":389},"so5gQ","NITRO_PRESET",[383,392,394],{"class":393},"slsVL","=alwaysdata\n",[335,396,397,340,400,403,404,407,408,413],{},[290,398,399],{},"Node.js version",[248,401,402],{},"Default version"," is fine; pick no less than ",[248,405,406],{},"20.0.0"," (you can also ",[273,409,412],{"href":410,"rel":411},"https://help.alwaysdata.com/en/languages/nodejs/configuration/#supported-versions",[277],"set your Node.js version globally",")",[335,415,416,340,419],{},[290,417,418],{},"Hot restart",[248,420,421],{},"SIGHUP",[252,423],{"to":424,"title":425},"https://help.alwaysdata.com/en/languages/nodejs","Get more information about alwaysdata Node.js sites type",[270,427,428,429,432],{},"Your app is now live at ",[248,430,431],{},"http(s)://[account_name].alwaysdata.net",".",[434,435,436],"style",{},"html pre.shiki code .so5gQ, html code.shiki .so5gQ{--shiki-light:#D73A49;--shiki-default:#F97583;--shiki-dark:#F97583}html pre.shiki code .slsVL, html code.shiki .slsVL{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}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":379,"searchDepth":438,"depth":438,"links":439},2,[440],{"id":258,"depth":438,"text":259,"children":441},[442,444],{"id":263,"depth":443,"text":264},3,{"id":300,"depth":443,"text":301},"Deploy Nitro apps to alwaysdata.","md",{},{},{"title":137,"description":445},"MAuk0Yy-AxzkaDYHkQaZECsAFCz6m7etEmmwzASdRCI",[452,454],{"title":103,"path":133,"stem":134,"description":453,"icon":135,"children":-1},null,{"title":141,"path":142,"stem":143,"description":455,"children":-1},"Deploy Nitro apps to AWS Lambda.",1778145700537]