Skip to content

Commit

Permalink
Fixes #214 - Fix typos in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Automated workflow committed Oct 31, 2023
1 parent 417a42f commit 33deb03
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ This project delivers you with a Maven repository server.

## Deploy the WAR file

Deploy the WAR file to a Jakarta Web Profile 10 compatible runtime of your choice.
Deploy the WAR file to a Jakarta Web Profile 10 compatible runtime of your
choice.

## Running using Piranha Web Profile

The command line below shows you how you can start running Manorrock Persian on Piranha Web Profile.
The command line below shows you how you can start running Manorrock Persian on
Piranha Web Profile:

```shell
java -jar piranha-dist-webprofile.jar --war-file persian.war --context-path ROOT
Expand All @@ -19,21 +21,22 @@ The command line below shows you how you can start running Manorrock Persian on
## Running using the container image from DockerHub

In an empty directory of your choice use the following command line to start
Manorrock Persian.
Manorrock Persian:

```shell
docker run --rm -d -it -p 8080:8080 -v $PWD:/mnt manorrock/persian
```

## Verify the server is up and running

Note the instruction below assume you have deployed the WAR file using the root context.
Note the instruction below assume you have deployed the WAR file using the root
context.

If you deployed it with another context root, please adjust the `url` below

Create a `settings.xml` file with the content from the snippet below, or rename
the `settings.xml.template` in the root directory of this project to
`settings.xml`:
`settings.xml` and make adjustments if necessary:

```
<?xml version="1.0" encoding="UTF-8"?>
Expand Down Expand Up @@ -71,7 +74,8 @@ the `settings.xml.template` in the root directory of this project to
</settings>
```

Now pick any Maven project and execute the command below to upload the artifacts:
Now pick any Maven project and execute the command below to upload the
artifacts:

```
mvn deploy -DaltDeploymentRepository=default::default::http://localhost:8080/repository
Expand Down

0 comments on commit 33deb03

Please sign in to comment.