An open API service indexing awesome lists of open source software.

https://github.com/ddev/test-sveltekit

Sveltekit demo used only for testing DDEV
https://github.com/ddev/test-sveltekit

Last synced: 11 months ago
JSON representation

Sveltekit demo used only for testing DDEV

Awesome Lists containing this project

README

          

This is a test repository for DDEV automated testing of Sveltekit Node.js

* This is created with a basic starter kit of Sveltekit in this way:
* `ddev config --webserver-type=generic --project-type=generic`
* `ddev exec "npx sv create --template=demo --types=ts --no-add-ons . --no-add-ons --no-install"`; when it prompts " Directory not empty. Continue?", choose Yes.
* `svelte.config.js` adds the node adapter for webserver
* `vite.config.js` tells it to run on port 3000 and allow all hostnames.
* `ddev npm i @sveltejs/adapter-node`
* `ddev npm run build`
* `config.extras.yaml` sets up the `web_extra_daemons` and `web_extra_exposed_ports`
* Test with `node build` inside container
* Create a release.