No description
| .forgejo/workflows | ||
| .vscode | ||
| prisma | ||
| run | ||
| src | ||
| static | ||
| tests | ||
| .dockerignore | ||
| .editorconfig | ||
| .env.example | ||
| .env.test | ||
| .gitignore | ||
| .npmrc | ||
| .pre-commit-config.yaml | ||
| CHANGELOG.md | ||
| cliff.toml | ||
| Dockerfile | ||
| eslint.config.js | ||
| LICENSE | ||
| package.json | ||
| playwright.config.js | ||
| pnpm-lock.yaml | ||
| postcss.config.cjs | ||
| README.md | ||
| release.sh | ||
| svelte.config.js | ||
| tailwind.config.cjs | ||
| tsconfig.json | ||
| vite.config.ts | ||
| vitest.config.integration.js | ||
Visitenbuch
for the university hospital in Augsburg
Development
The project template was created using create-svelte.
Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Handle the prisma ORM
./run/db_up.sh # Start the docker container, create a new database and run migrations + insert test data
npx prisma migrate dev --name my_migration --create-only # Create a new migration
npx prisma migrate dev # Apply migrations to the database
Building
To create a production version of your app:
npm run build
You can preview the production build with npm run preview.
To deploy your app, you may need to install an adapter for your target environment.
Release
To release a new version, tun the release script with the new version as a parameter
./release.sh 1.0.0