Skip to content

Commit

Permalink
Move advice about powershell and windows to common location
Browse files Browse the repository at this point in the history
  • Loading branch information
holly-cummins committed Jul 13, 2023
1 parent 2f01294 commit 7333f12
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 18 deletions.
5 changes: 5 additions & 0 deletions docs/src/main/asciidoc/_includes/devtools/create-app.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,8 @@ ifndef::devtools-no-gradle[]
To create a Gradle project, add the `-DbuildTool=gradle` or `-DbuildTool=gradle-kotlin-dsl` option.
endif::[]
****

For Windows users:

- If using cmd , (don't use backward slash `\` and put everything on the same line)
- If using Powershell , wrap `-D` parameters in double quotes e.g. `"-DprojectArtifactId={create-app-artifact-id}"`
12 changes: 1 addition & 11 deletions docs/src/main/asciidoc/getting-started-dev-services.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -57,28 +57,18 @@ The solution is located in the `getting-started-dev-services` {quickstarts-tree-

The easiest way to create a new Quarkus project is to open a terminal and run the following command:

For Linux and macOS users

:create-app-artifact-id: getting-started-dev-services
:create-app-extensions: resteasy-reactive
:create-app-code:
include::{includes}/devtools/create-app.adoc[]

For Windows users:

- If using cmd , (don't use backward slash `\` and put everything on the same line)
- If using Powershell , wrap `-D` parameters in double quotes e.g. `"-DprojectArtifactId=getting-started"`

For an explanation of what's in the generated application, see the xref:getting-started.adoc[First application guide].

=== Running the application

Launch the application in dev mode

[source, shell]
----
./mvnw quarkus:dev
----
include::{includes}/devtools/dev.adoc[]

Once the application is up, visit http://localhost:8080/hello. It should show a "Hello from RESTEasy Reactive" message.

Expand Down
7 changes: 0 additions & 7 deletions docs/src/main/asciidoc/getting-started.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,11 @@ The solution is located in the `getting-started` {quickstarts-tree-url}/getting-

The easiest way to create a new Quarkus project is to open a terminal and run the following command:

For Linux & MacOS users

:create-app-artifact-id: getting-started
:create-app-extensions: resteasy-reactive
:create-app-code:
include::{includes}/devtools/create-app.adoc[]

For Windows users:

- If using cmd , (don't use backward slash `\` and put everything on the same line)
- If using Powershell , wrap `-D` parameters in double quotes e.g. `"-DprojectArtifactId=getting-started"`

It generates the following in `./getting-started`:

* the Maven structure
Expand Down

0 comments on commit 7333f12

Please sign in to comment.