Skip to content

Commit

Permalink
Update postgresql database name and fix wrong bullet points
Browse files Browse the repository at this point in the history
  • Loading branch information
jedla97 committed Aug 26, 2024
1 parent f9d6373 commit 7b7e5cb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/src/main/asciidoc/security-getting-started-tutorial.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,17 @@ The instructions in this example tutorial use a PostgreSQL database for the iden
You can create a new Maven project with the Security Jakarta Persistence extension or add the extension to an existing Maven project.
You can use either Hibernate ORM or Hibernate Reactive.

==== Creating new Maven project

* To create a new Maven project with the Jakarta Persistence extension, complete one of the following steps:
** To create the Maven project with Hibernate ORM, use the following command:

:create-app-artifact-id: security-jpa-quickstart
:create-app-extensions: security-jpa,jdbc-postgresql,rest,hibernate-orm-panache
include::{includes}/devtools/create-app.adoc[]

==== Adding Jakarta Persistence extension to existing project

* To add the Jakarta Persistence extension to an existing Maven project, complete one of the following steps:

** To add the Security Jakarta Persistence extension to an existing Maven project with Hibernate ORM, run the following command from your project base directory:
Expand Down Expand Up @@ -415,7 +419,7 @@ In this scenario, `Dev Services for PostgreSQL` launches and configures a `Postg
%prod.quarkus.datasource.db-kind=postgresql
%prod.quarkus.datasource.username=quarkus
%prod.quarkus.datasource.password=quarkus
%prod.quarkus.datasource.jdbc.url=jdbc:postgresql:elytron_security_jpa
%prod.quarkus.datasource.jdbc.url=jdbc:postgresql://localhost/quarkus
quarkus.hibernate-orm.database.generation=drop-and-create
----
Expand Down Expand Up @@ -505,7 +509,7 @@ Dev Services for PostgreSQL supports testing while you develop by providing a se
[source,bash]
----
docker run --rm=true --name security-getting-started -e POSTGRES_USER=quarkus \
-e POSTGRES_PASSWORD=quarkus -e POSTGRES_DB=elytron_security_jpa \
-e POSTGRES_PASSWORD=quarkus -e POSTGRES_DB=quarkus \
-p 5432:5432 postgres:14.1
----
=== Compile and run the application

Check warning on line 515 in docs/src/main/asciidoc/security-getting-started-tutorial.adoc

View workflow job for this annotation

GitHub Actions / Linting with Vale

[vale] reported by reviewdog 🐶 [Quarkus.HeadingPunctuation] Do not use end punctuation in headings. Raw Output: {"message": "[Quarkus.HeadingPunctuation] Do not use end punctuation in headings.", "location": {"path": "docs/src/main/asciidoc/security-getting-started-tutorial.adoc", "range": {"start": {"line": 515, "column": 1}}}, "severity": "INFO"}
Expand Down

0 comments on commit 7b7e5cb

Please sign in to comment.