File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
spring-boot-postgres-graphql Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -42,25 +42,6 @@ Follow the steps to start the application:
4242
4343## Setup DB
4444
45- You have two possible cases:
46-
47- ### Use your postgres installation
48-
49- If you already have PostgreSQL installed on your machine and want to use this installation, follow these steps:
50- 1 . If not already started, launch the PostgreSQL service:
51- ``` bash
52- sudo service postgresql start
53- ```
54-
55- 2 . Set the password for the postgres user (or alternatively, modify the application.properties file within the project):
56- ``` bash
57- sudo -u postgres psql -c " ALTER USER postgres WITH PASSWORD 'root';"
58- ```
59- 3 . Create the demo database:
60-
61- ``` bash
62- sudo -u postgres createdb library_demo
63- ```
6445### Use postgres docker image
6546
6647If you have Docker installed and prefer a PostgreSQL instance in a container, follow these steps:
You can’t perform that action at this time.
0 commit comments