# TiCard

This is the card production procedure and Digital Profile page of the TiCard project, using SvelteKit for development.

## Developing

Once you've created a project and installed dependencies with `pnpm install`, start a development server:

```bash
pnpm run dev
```

## Building for local

To create a production version of your app:

```bash
pnpm run build
```

You can preview the production build with `pnpm run preview`.

## Building and deploy for production

```bash
# remember to modify the version
docker build --tag asia-east2-docker.pkg.dev/gcp-digital-infra/cicd-repo/card-printer:x.x.x .
# then push
docker push asia-east2-docker.pkg.dev/gcp-digital-infra/cicd-repo/card-printer:x.x.x
```

Finally, deploy TiCard in GCP Cloud Run.
