Adding first working version

This commit is contained in:
2026-07-06 13:11:48 +02:00
parent 3cd9df9bfe
commit 41e9c76028
36 changed files with 6211 additions and 4391 deletions
+10 -5
View File
@@ -13,23 +13,28 @@ The original embeddable GlitchComponent has been moved to the sibling folder:
Start the database:
```bash
cd backend
docker compose up -d
docker compose up -d postgres
```
Create `.env` from the local example:
```bash
cp .env.example .env
```
Run migrations:
```bash
DATABASE_URL=postgres://ca_studio:ca_studio@localhost:54329/ca_studio_test npm run migrate
npm run migrate
```
Start the API:
```bash
DATABASE_URL=postgres://ca_studio:ca_studio@localhost:54329/ca_studio_test npm run dev
npm run dev
```
In another terminal, start the admin UI:
In another terminal, start only the admin UI if needed:
```bash
npm run admin:dev