1# Fly Website: Foldkit
2
3Deploys a [Foldkit](https://foldkit.dev) site to Fly with
4`Fly.Website.Foldkit` — no adapter setup in the project config.
5
6Hashed assets publish with a Fly Service that serves the SPA shell.
7Foldkit apps are client-only Vite projects, so the deploy is assets-only.
8
9- `src/main.ts` holds the Elm-architecture model/update/view.
10- `src/components/Card.ts` is a view function styled with Tailwind utilities.
11- Unmatched paths serve `index.html` so deep links boot the app.
12
13```ts
14const site = yield* Fly.Website.Foldkit("Foldkit");
15```
16
17The integration package must be installed in the project (it is loaded
18dynamically at deploy time):
19
20```sh
21bun add -d @alchemy.run/frontend-frameworks
22```
23
24## Deploy
25
26```sh
27bun run deploy
28```
29
30Unchanged sources skip the build entirely on subsequent deploys — the
31input files are content-hashed (scoped by `memo.include`).
32
33## Dev
34
35```sh
36bun run dev
37```
38
39`alchemy dev` runs the framework's own dev server (HMR included) and
40no cloud resources are created.
41
42## Destroy
43
44```sh
45bun run destroy
46```