Cleaning up readme file
This commit is contained in:
16
README.md
16
README.md
@@ -14,34 +14,34 @@ Full JHipster technology stack can he found [here] (https://jhipster.github.io/t
|
||||
####Pre-requisites
|
||||
You must have the following installed: Maven, Java 8
|
||||
|
||||
choco install maven
|
||||
`choco install maven`
|
||||
|
||||
choco install jdk8
|
||||
`choco install jdk8`
|
||||
|
||||
####Optional
|
||||
Maven takes care of eveything if you just want to build and run the application but if you want to change certain aspects then you will also need to install: Node.js, bower, grunt
|
||||
|
||||
choco install nodejs
|
||||
`choco install nodejs`
|
||||
|
||||
npm install -g bower
|
||||
`npm install -g bower`
|
||||
|
||||
npm install -g grunt-cli
|
||||
`npm install -g grunt-cli`
|
||||
|
||||
##Building and running the application
|
||||
Once cloned and everything installed you can navigate to the top level of the project on the command line and enter:
|
||||
|
||||
mvn clean install -DskipTests -Pprod
|
||||
`mvn clean install -DskipTests -Pprod`
|
||||
|
||||
This will create a .jar file in the "target" folder. Navigate to the "target" folder and enter the command:
|
||||
|
||||
java -jar openajpport-0.0.1-SNAPSHOT.war --spring.profiles.active=prod
|
||||
`java -jar openajpport-0.0.1-SNAPSHOT.war --spring.profiles.active=prod`
|
||||
|
||||
Now we have built and run our application in "prod" mode.
|
||||
|
||||
####Testing the application
|
||||
We can then test that the AJP port is open by running the command:
|
||||
|
||||
telnet localhost 8008
|
||||
`telnet localhost 8008`
|
||||
|
||||
The JHipster application will be available at: http://localhost:8080
|
||||
|
||||
|
||||
Reference in New Issue
Block a user