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 webservervite.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 theweb_extra_daemons
andweb_extra_exposed_ports
- Test with
node build
inside container
- Create a release.