Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show how to start DB and the application in security-getting-started #26683

Merged

Conversation

sberyozkin
Copy link
Member

Currently there is no information in this doc how to start DB and compile and start the application, so when users go to Testing the curl or browser it can be missed that a DB is not running and the errors will happen.
Hibernate ORM guide uses a 14.1 image version so I copied that here

CC @MichalMaler

@MichalMaler
Copy link
Contributor

Great job! Thank you for such a fast reaction!
CC @jmartisk

[source,bash]
----
docker run --rm=true --name security-getting-started -e POSTGRES_USER=quarkus \
-e POSTGRES_PASSWORD=quarkus -e POSTGRES_DB=elytron_security_jpa \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In application.properties we mention:

%prod.quarkus.datasource.jdbc.url=jdbc:postgresql:security_jpa

So it would be good to have these two aligned

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@geoand the actual quickstart uses elytron_jpa_security so I've fixed the doc itself to refer elytron_jpa_security, thanks

@sberyozkin sberyozkin force-pushed the getting_started_sec_doc_update branch from 23c4fd5 to 19c620d Compare July 13, 2022 12:05
@sberyozkin sberyozkin merged commit 3ce2e39 into quarkusio:main Jul 13, 2022
@quarkus-bot quarkus-bot bot added this to the 2.12 - main milestone Jul 13, 2022
@sberyozkin sberyozkin deleted the getting_started_sec_doc_update branch July 13, 2022 16:49
@gsmet gsmet modified the milestones: 2.12 - main, 2.11.0.Final Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants