Atmosphere Account#
Marketing site for Atmosphere Account — built with Fresh and Deno.
Open source under the MIT License. Contributions welcome — fork the repo on either GitHub or tangled and open a PR.
Prerequisites#
- Deno (v2+)
After cloning, install dependencies (creates node_modules/ from the lockfile):
deno install
Copy .env.example to .env and set TURSO_AUTH_TOKEN from
the Turso dashboard (the example file already points at
this project’s database URL). For Explore, OAuth, and the indexer you will also
need the variables listed in that file.
Development#
deno task dev
Opens the Vite dev server with hot reload.
Production build#
deno task build
deno task start
build runs deno install then vite build so a clean clone (and Deno Deploy)
gets node_modules before Vite runs. start serves from _fresh/server.js.
Deploy (Deno Deploy)#
- Push this repository to GitHub (or GitLab).
- In Deno Deploy, create a project from the repo.
- Set Root directory to the repository root (this folder).
- Build step:
deno task build(installs npm deps, then runs Vite — required on Deploy) - Run command:
deno task start(ordeno serve -A _fresh/server.jsperdeno.json).
Remote Turso (libsql://…) uses @libsql/client/web so the deploy runtime does
not need native @libsql/* platform binaries. Local file:./local.db still
uses the full client when running deno task dev.
Adjust if your host uses different entrypoints.
Contributing#
PRs and forks welcome on either forge:
- GitHub: https://github.com/jobiwanken0bi/atmosphere-account
- tangled: https://tangled.org/@joebasser.com/atmosphere-account
Both forges mirror the same main branch.
License#
MIT © Joseph Basser