mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 03:07:47 +00:00
Update README
This commit is contained in:
12
README.md
12
README.md
@@ -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`:
|
||||||
|
Reference in New Issue
Block a user