Adding first working version
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user