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