Commit 1d1c9ba3 authored by hengwen's avatar hengwen

Use ip instead of localhost

parent 9c47dcd1
Pipeline #147374 passed with stage
in 2 minutes and 13 seconds
...@@ -140,7 +140,7 @@ To enable visualization, put the static files under `restful/src/main/resources/ ...@@ -140,7 +140,7 @@ To enable visualization, put the static files under `restful/src/main/resources/
Aa an example, to use the visualization provided in [visualization repo](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/visualization), Aa an example, to use the visualization provided in [visualization repo](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/visualization),
copy everything from [webapp directory](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/visualization/tree/master/src/main/webapp) into copy everything from [webapp directory](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/visualization/tree/master/src/main/webapp) into
`restful/src/main/resources/resources`. `restful/src/main/resources/resources`.
Start the restful server, the visualization client will be available at [http://localhost:8090/index.html](http://localhost:8090/index.html) Start the restful server, the visualization client will be available at [http://127.0.0.1:8090/index.html](http://127.0.0.1:8090/index.html)
## Simulation via RESTful API ## Simulation via RESTful API
...@@ -157,4 +157,4 @@ The sequence should be: ...@@ -157,4 +157,4 @@ The sequence should be:
## API Documentation ## API Documentation
The APIs are defined using OpenAPI2.0 in `openapi.yml`. The APIs are defined using OpenAPI2.0 in `openapi.yml`.
However, the restful server also provides an auto generated API documentation page at However, the restful server also provides an auto generated API documentation page at
[http://localhost:8090/swagger-ui.html](http://localhost:8090/swagger-ui.html). [http://127.0.0.1:8090/swagger-ui.html](http://127.0.0.1:8090/swagger-ui.html).
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