Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 909 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 909 Bytes

Svelte Wheel

This is an exploratory Svelte/Kit rewrite of https://wheelofnames.com.
The master branch is Svelte 5. The original Svelte 4 version is in the svelte-4 branch.

Developing

Install dependencies: pnpm i
Create the .env file from the template
Start the development server: pnpm dev

Building

To build for production: pnpm build
Preview the production build: pnpm preview
Macro: pnpm bp

Testing

Run the unit tests: pnpm test:unit
Run the integration tests: pnpm test:integration
Run both: pnpm test

Deploying

Deploying is handled by GitHub Actions for the main SvelteKit app.
GitHub repository secrets: create one for each line in .env, plus FIREBASE_DEPLOYER_SERVICE_ACCOUNT, which is a JSON key to a GCP service account with Editor permissions.
If new PWA assets are needed, run pnpm generate-pwa-assets. Does not overwrite old assets.