The next generation of kvcm.live, featuring a new website, app, and CMS, and eventually more stuff. Powered by SvelteKit and Pocketbase.
Make sure you've installed the dependencies with yarn install
, as well as a fresh copy of Pocketbase in the pocketbase directory.
First, copy template.env
into .env
and fill it out. Then, start Pocketbase and the dev server.
Make sure to initialize the Pocketbase schema with the pocketbase.json
file before trying to access the server.
./pocketbase/pocketbase serve
yarn run dev
Make sure to put pocketbase in the pocketbase subdirectory.
To create a production version of your app:
yarn run build
You can preview the production build with yarn run preview
.
Note that the Pocketbase server is still needed in production.
To deploy your app, you may need to install an adapter for your target environment.