Browse Source

Update README.md

Git-Leon 6 years ago
parent
commit
671a3d2c35
No account linked to committer's email
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      README.md

+ 3
- 1
README.md View File

135
 * Ensure that the `start-class` tag in your `pom.xml` encapsulates `io.zipcoder.springdemo.QuickPollApplication`
135
 * Ensure that the `start-class` tag in your `pom.xml` encapsulates `io.zipcoder.springdemo.QuickPollApplication`
136
 * Open a command line and navigate to the project's root directory and run this command:
136
 * Open a command line and navigate to the project's root directory and run this command:
137
 	* `mvn spring-boot:run`
137
 	* `mvn spring-boot:run`
138
-* Launch the [Postman](https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en) app in your Chrome browser and enter the URL `http://localhost:8080/polls` and hit Send.
138
+* Launch the [Postman](https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en) app and enter the URI `http://localhost:8080/polls` and hit Send.
139
 * Because we don’t have any polls created yet, this command should result in an empty collection.
139
 * Because we don’t have any polls created yet, this command should result in an empty collection.
140
+* If your application cannot run because something is occupying a port, use this command with the respective port number specified:
141
+	* ``kill -kill `lsof -t -i tcp:8080``
140
 
142
 
141
 
143
 
142
 
144