Commit 2bc0e4bd authored by Bruno López Trigo's avatar Bruno López Trigo

Correxidos erros de README

parent 19811b06
......@@ -37,6 +37,7 @@ In order to build API service be sure to follow the next steps:
3. Open /codigo/expliclas-api project on Netbeans
4. Be sure /codigo/expliclas-api/src/main/webapp/index.html contains correct API URL in order to correctly deploy API documentation.
```javascript
const ui = SwaggerUIBundle({
url: "http://localhost:8080/api/swagger.json", // CHANGE THIS LINE
dom_id: '#swagger-ui',
......@@ -50,6 +51,7 @@ const ui = SwaggerUIBundle({
],
layout: "StandaloneLayout"
})
```
5. Run project with Netbeans, by default API will be deployed at http://localhost:8080/api/
......@@ -63,6 +65,8 @@ In order to deploy demo web service:
Be sure to establish correct URLs for web service under /codigo/expliclas/src/config.js
```javascript
export const API_ROOT = 'http://localhost:8080/api'; // API URL
export const API_DOC = 'http://localhost:8080/'; // API DOCUMENTATION URL
export const HOME = 'http://localhost:3000/'; // WEB SERVICE URL
```
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment