Visitenbuch/README.md
2024-05-12 23:42:00 +02:00

1.1 KiB

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