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
- Host: GitHub
- URL: https://github.com/ddev/test-sveltekit
- Owner: ddev
- License: apache-2.0
- Created: 2025-01-28T04:13:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-28T15:58:40.000Z (over 1 year ago)
- Last Synced: 2025-07-19T01:39:30.250Z (11 months ago)
- Language: TypeScript
- Size: 529 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.