svelte-kit-template
Development Setup
- Initialize or remove Sentry SDK by reviewing these files:
hooks.client.ts
hooks.server.ts
- See
.env.[mode].local.example and create a .env.development.local file.
- Install dependencies and run these scripts:
node --run db:generate
node --run db:migrate
node --run dev
Production Setup
- See the guide for VPS deployment with HTTPS.
- For other platforms, update the setup accordingly:
- @sveltejs/adapter-node
- pm2-ecosystem