Go to file
Matt fdd0bb1f7e
Build and Push Docker Image / build (push) Successful in 2m30s Details
Use dynamic env vars for Supabase config
Changes $env/static/public to $env/dynamic/public for all Supabase
URL and API key configuration. This allows the app to read environment
variables at runtime instead of build time, enabling deployment with
different configurations without rebuilding the Docker image.

Files updated:
- hooks.server.ts: Use dynamic env for PUBLIC_SUPABASE_URL/KEY
- lib/server/supabase.ts: Lazy-init admin client with dynamic env
- lib/server/storage.ts: Use dynamic env for browser-accessible URLs
- lib/supabase.ts: Use dynamic env for browser client

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 15:25:41 +01:00
.gitea/workflows Use placeholder JWT tokens for build (real keys injected at runtime) 2026-01-25 02:38:39 +01:00
.github/workflows Use placeholder JWT tokens for build (real keys injected at runtime) 2026-01-25 02:38:39 +01:00
deploy Make phone, date_of_birth, address nullable in members table 2026-01-26 14:06:10 +01:00
nginx Initial production deployment setup 2026-01-25 02:19:49 +01:00
scripts Add script to update kong.yml with production API keys 2026-01-26 10:03:40 +01:00
src Use dynamic env vars for Supabase config 2026-01-26 15:25:41 +01:00
static Initial production deployment setup 2026-01-25 02:19:49 +01:00
supabase Add database init script for Supabase schemas and roles 2026-01-26 09:51:21 +01:00
.dockerignore Initial production deployment setup 2026-01-25 02:19:49 +01:00
.env.example Initial production deployment setup 2026-01-25 02:19:49 +01:00
.env.production.example Use pre-built image from registry instead of local build 2026-01-25 03:02:02 +01:00
.gitignore Add production env template 2026-01-25 02:42:45 +01:00
.npmrc Initial production deployment setup 2026-01-25 02:19:49 +01:00
ARCHITECTURE.md Initial production deployment setup 2026-01-25 02:19:49 +01:00
DEPLOYMENT.md Initial production deployment setup 2026-01-25 02:19:49 +01:00
Dockerfile Initial production deployment setup 2026-01-25 02:19:49 +01:00
README.md Initial production deployment setup 2026-01-25 02:19:49 +01:00
build.log Initial production deployment setup 2026-01-25 02:19:49 +01:00
components.json Initial production deployment setup 2026-01-25 02:19:49 +01:00
deploy.sh Add Kong config generator for production API keys 2026-01-25 03:16:00 +01:00
dev-output.txt Initial production deployment setup 2026-01-25 02:19:49 +01:00
dev.log Initial production deployment setup 2026-01-25 02:19:49 +01:00
docker-compose.nginx.yml Add initial admin setup page and favicon support 2026-01-26 09:36:25 +01:00
docker-compose.prod.yml Initial production deployment setup 2026-01-25 02:19:49 +01:00
docker-compose.yml Add database init script for Supabase schemas and roles 2026-01-26 09:51:21 +01:00
npm.log Initial production deployment setup 2026-01-25 02:19:49 +01:00
package-lock.json Initial production deployment setup 2026-01-25 02:19:49 +01:00
package.json Initial production deployment setup 2026-01-25 02:19:49 +01:00
postcss.config.js Initial production deployment setup 2026-01-25 02:19:49 +01:00
svelte.config.js Initial production deployment setup 2026-01-25 02:19:49 +01:00
tsconfig.json Initial production deployment setup 2026-01-25 02:19:49 +01:00
vite.config.ts Initial production deployment setup 2026-01-25 02:19:49 +01:00

README.md

sv

Everything you need to build a Svelte project, powered by sv.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npx sv create

# create a new project in my-app
npx sv create my-app

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.