On this page
Astro Flightdeck is a complete website for a software product: a homepage, pricing, docs, a blog, About and Contact. You put your product’s name and text in, and the rest is done. This post takes you from the code on GitHub to your site online.
What you need
Get the code
git clone https://github.com/hansmartensdev/Astro-Flightdeck.git my-site
cd my-site
pnpm install
Run it on your computer
pnpm dev
The site opens at http://localhost:4321. Change a file and the page reloads.
pnpm build makes the finished site in dist/, and pnpm preview shows that build. The search on the site only works in the build.
Put it online
Astro Flightdeck works on Vercel, Netlify and Cloudflare, and on any server that runs Node. When it builds on one of those three hosts, the theme picks the right adapter by itself. To choose one yourself, set DEPLOY_TARGET to vercel, netlify, cloudflare or node. Cloudflare needs its adapter first: pnpm add @astrojs/cloudflare.
On the host, set SITE_URL to your own address, such as https://example.com. The theme uses it for the sitemap, the links in search results and the share images.
Next
Your product’s name, your text and your logo come next: see Make Astro Flightdeck yours.