this repo has no description
1# Atmosphere Account
2
3Marketing site for **Atmosphere Account** — built with
4[Fresh](https://fresh.deno.dev/) and Deno.
5
6Open source under the [MIT License](./LICENSE). Contributions welcome — fork the
7repo on either [GitHub](https://github.com/jobiwanken0bi/atmosphere-account) or
8[tangled](https://tangled.org/@joebasser.com/atmosphere-account) and open a PR.
9
10## Prerequisites
11
12- [Deno](https://docs.deno.com/runtime/getting_started/installation) (v2+)
13
14After cloning, install dependencies (creates `node_modules/` from the lockfile):
15
16```sh
17deno install
18```
19
20Copy [`.env.example`](./.env.example) to `.env` and set `TURSO_AUTH_TOKEN` from
21the [Turso](https://turso.tech/) dashboard (the example file already points at
22this project’s database URL). For Explore, OAuth, and the indexer you will also
23need the variables listed in that file.
24
25## Development
26
27```sh
28deno task dev
29```
30
31Opens the Vite dev server with hot reload.
32
33## Production build
34
35```sh
36deno task build
37deno task start
38```
39
40`build` runs `deno install` then `vite build` so a clean clone (and Deno Deploy)
41gets `node_modules` before Vite runs. `start` serves from `_fresh/server.js`.
42
43## Deploy (Deno Deploy)
44
451. Push this repository to GitHub (or GitLab).
462. In [Deno Deploy](https://dash.deno.com/), create a project from the repo.
473. Set **Root directory** to the repository root (this folder).
484. **Build step:** `deno task build` (installs npm deps, then runs Vite —
49 required on Deploy)
505. **Run command:** `deno task start` (or `deno serve -A _fresh/server.js` per
51 `deno.json`).
52
53Remote Turso (`libsql://…`) uses `@libsql/client/web` so the deploy runtime does
54not need native `@libsql/*` platform binaries. Local `file:./local.db` still
55uses the full client when running `deno task dev`.
56
57Adjust if your host uses different entrypoints.
58
59## Contributing
60
61PRs and forks welcome on either forge:
62
63- **GitHub:** https://github.com/jobiwanken0bi/atmosphere-account
64- **tangled:** https://tangled.org/@joebasser.com/atmosphere-account
65
66Both forges mirror the same `main` branch.
67
68## License
69
70[MIT](./LICENSE) © Joseph Basser