Update README

This commit is contained in:
xbgmsharp
2024-02-21 16:36:29 +01:00
parent 82e7056b0c
commit 9ba79123ec

View File

@@ -111,7 +111,7 @@ First let's initialize the database.
First let's import the SQL schema, execute: First let's import the SQL schema, execute:
```bash ```bash
$ docker-compose up db $ docker compose up db
``` ```
#### Step 2. Start backend (db, api) #### Step 2. Start backend (db, api)
@@ -119,7 +119,7 @@ $ docker-compose up db
Then launch the full stack (db, api) backend, execute: Then launch the full stack (db, api) backend, execute:
```bash ```bash
$ docker-compose up db api $ docker compose up db api
``` ```
The API should be accessible via port HTTP/3000. The API should be accessible via port HTTP/3000.
@@ -127,6 +127,14 @@ The database should be accessible via port TCP/5432.
You can connect to the database via a web gui like [pgadmin](https://www.pgadmin.org/) or you can use a client [dbeaver](https://dbeaver.io/). You can connect to the database via a web gui like [pgadmin](https://www.pgadmin.org/) or you can use a client [dbeaver](https://dbeaver.io/).
#### Step 3. Start frontend (web)
Then launch the web frontend, execute:
```bash
$ docker compose build web
```
### SQL Configuration ### SQL Configuration
Check and update your postgsail settings via SQL in the table `app_settings`: Check and update your postgsail settings via SQL in the table `app_settings`: