Skip to content

Commit

Permalink
Fix CLI info regarding Springboot quickstart (#5849)
Browse files Browse the repository at this point in the history
<!--
Thank you for opening a PR! Here are some things you need to know before submitting:

1. Please read our developer guideline: https://github.com/redhat-developer/odo/wiki/Dev:-odo-Dev-Guidelines
2. Label this PR accordingly with the '/kind' line
3. Ensure you have written and ran the appropriate tests: https://github.com/redhat-developer/odo/wiki/Dev:-Writing-and-running-tests
4. Read how we approve and LGTM each PR: https://github.com/redhat-developer/odo/wiki/Pull-Requests:-Review-guideline

Documentation:

If you are pushing a change to documentation, please read: https://github.com/redhat-developer/odo/wiki/Documentation:-Contributing
-->

**What type of PR is this:**

<!--
Add one of the following kinds:
/kind bug
/kind feature
/kind cleanup
/kind tests

Feel free to use other [labels](https://github.com/redhat-developer/odo/labels) as needed. However one of the above labels must be present or the PR will not be reviewed. This instruction is for reviewers as well.
-->
/kind documentation

**What does this PR do / why we need it:**

An incorrect rebase messed up the quickstart guide, as well as feedback
from users reccomended to remove the CLI portion of the springboot
guide.

**Which issue(s) this PR fixes:**
<!--
Specifying the issue will automatically close it when this PR is merged
-->

**PR acceptance criteria:**

- [X] Documentation

**How to test changes / Special notes to the reviewer:**

Signed-off-by: Charlie Drage <[email protected]>
  • Loading branch information
cdrage authored Jun 21, 2022
1 parent 7493e97 commit c45ae95
Showing 1 changed file with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,6 @@ Restore succeeded.

<TabItem value="java" label="Java (Spring Boot)">

You can generate your code with either the:
* Spring web interface
* `spring` CLI

**Generating a project through the Spring web interface:**
For Java, we will use the [Spring Initializr](https://start.spring.io/) to generate the example source code:

1. Navigate to [start.spring.io](https://start.spring.io/)
Expand All @@ -117,21 +112,6 @@ For Java, we will use the [Spring Initializr](https://start.spring.io/) to gener
4. Select "Spring Web"
5. Click "Generate" to generate and download the source code

Finally, open a terminal and navigate to the directory.

**Generating a project through the `spring` CLI:**

```console
$ spring init --dependencies=web --build=maven --language=java --java-version=11 my-springboot-project
Using service at https://start.spring.io
Project extracted to '/Users/user/my-springboot-project'
```

=======
2. Click on "Add" under "Dependencies"
3. Select "Spring Web"
4. Click "Generate" to generate and download the source code

Finally, open a terminal and navigate to the directory.

</TabItem>
Expand Down

0 comments on commit c45ae95

Please sign in to comment.