generated from amosproj/amos202Xss0Y-projname
-
Notifications
You must be signed in to change notification settings - Fork 0
Tutorial
Kevin Nguyen edited this page Nov 8, 2022
·
9 revisions
- Install PostgreSQL.
- Choose a password for PostgreSQL authentification.
- Open the
application.properties
file incode/src/main/resources
and fill in thespring.datasource.username=
andspring.datasource.password=
fields, e.g.spring.datasource.username=postgres
andspring.datasource.password=123456
.
- Open the
SpecitemDatabaseApplication.java
file and run it.
or
- Run
SQL Shell (psql)
. - Execute
\c specitems
. - Run
\dt
to display all avaiable tables in thespecitems
database. - As you are already connected to the database, you can query something like
SELECT * FROM spec_item_entity;
.