|
Build and Push Docker Image / build (push) Successful in 2m30s
Details
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> |
||
|---|---|---|
| .gitea/workflows | ||
| .github/workflows | ||
| deploy | ||
| nginx | ||
| scripts | ||
| src | ||
| static | ||
| supabase | ||
| .dockerignore | ||
| .env.example | ||
| .env.production.example | ||
| .gitignore | ||
| .npmrc | ||
| ARCHITECTURE.md | ||
| DEPLOYMENT.md | ||
| Dockerfile | ||
| README.md | ||
| build.log | ||
| components.json | ||
| deploy.sh | ||
| dev-output.txt | ||
| dev.log | ||
| docker-compose.nginx.yml | ||
| docker-compose.prod.yml | ||
| docker-compose.yml | ||
| npm.log | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| svelte.config.js | ||
| tsconfig.json | ||
| vite.config.ts | ||
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.