2024-06-29 15:25:43 -04:00
2024-09-15 14:15:21 -04:00
2024-08-26 16:15:52 -04:00
2024-09-10 11:35:47 -04:00
2024-08-23 14:02:57 -04:00
2024-09-11 19:41:44 -04:00
2024-06-29 01:22:22 -04:00
fix
2024-09-15 15:22:37 -04:00
2024-06-29 01:22:22 -04:00
2024-06-29 01:22:22 -04:00
2024-08-23 14:06:23 -04:00
2024-06-29 01:22:22 -04:00
2024-06-29 01:46:07 -04:00

Needs BunJS and a Mysql DB

1 - create a mysql database called daphnis

2a - create .env file from the example.env

2 - delete the migrations and generated folder(s) inside schemas/artemis and schemas/daphnis


3 - run the below

$ bun db:init

What it does:

It will create a empty data base for daphnis and pull your existing artemis one into its own schema via introspection.

"db:init": "npx prisma migrate dev --name init --schema prisma/schemas daphnis/schema.prisma; npx prisma db pull --schema prisma/schemas/artemis/schema.prisma"


4 - run the below

$ bun daphnis:generate

What it does:

generates the schema output

"daphnis:generate": "prisma generate --schema=./prisma/schemas/daphnis/schema.prisma"


5 - run the below

generates the schema output

$ bun aretmis:generate

What it does:

"artemis:generate": "prisma generate --schema=./prisma/schemas/artemis/schema.prisma"


6 - start daphnis

$ bun run dev

What it does:

"dev": "next dev",

Description
No description provided
Readme 42 MiB
Languages
TypeScript 67.7%
HTML 19.8%
JavaScript 7.4%
CSS 2.8%
Python 2.3%