fmaclen / canutin-desktop

An open-source personal finance desktop app
https://canutin.com
Apache License 2.0
26 stars 5 forks source link

Create "npm run setup" script #88

Open fmaclen opened 2 years ago

fmaclen commented 2 years ago

Reference

  1. Install Electron dependencies
% npm install
  1. Install SvelteKit dependencies
% cd sveltekit && npm install
  1. Generate Prisma's artifacts.
% cd sveltekit && npx prisma generate
  1. Create and seed a vault which will be seeded with the minimum required data (account/asset types, categories, etc).
% cd sveltekit && npx prisma migrate dev