Skip to content

Commit 259a501

Browse files
committed
Switch to ports 7000 and 7001
1 parent 4794c61 commit 259a501

File tree

26 files changed

+65
-65
lines changed

26 files changed

+65
-65
lines changed

workshop/content/docs/advanced/clusters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ CLASS
3131

3232
!!! example
3333

34-
- MapServer request: <http://localhost:5002/?map=/etc/mapserver/clusters.map&mode=map&layer=trees>
35-
- OpenLayers example: <http://localhost:5001/clusters.html>
34+
- MapServer request: <http://localhost:7000/?map=/etc/mapserver/clusters.map&mode=map&layer=trees>
35+
- OpenLayers example: <http://localhost:7001/clusters.html>
3636

3737
??? JavaScript "clusters.js"
3838

workshop/content/docs/advanced/sld.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ This exercise will focus on the first use case.
2424

2525
!!! example
2626

27-
- Direct MapServer request: <http://localhost:5002/?map=/etc/mapserver/lines.map&mode=map&layer=roads>
28-
- Local OpenLayers example: <http://localhost:5001/sld.html>
29-
- GetCapabilities request: <http://localhost:5002/?map=/etc/mapserver/sld.map&REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.3.0>
30-
- Request to generate SLD from a Mapfile: <http://localhost:5002/?map=/etc/mapserver/sld.map&REQUEST=GetStyles&SERVICE=WMS&LAYERS=countries&VERSION=1.3.0&sld=http://node:5001/data/sld.xml>
27+
- Direct MapServer request: <http://localhost:7000/?map=/etc/mapserver/lines.map&mode=map&layer=roads>
28+
- Local OpenLayers example: <http://localhost:7001/sld.html>
29+
- GetCapabilities request: <http://localhost:7000/?map=/etc/mapserver/sld.map&REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.3.0>
30+
- Request to generate SLD from a Mapfile: <http://localhost:7000/?map=/etc/mapserver/sld.map&REQUEST=GetStyles&SERVICE=WMS&LAYERS=countries&VERSION=1.3.0&sld=http://node:7001/data/sld.xml>
3131

3232
???+ SLD
3333

workshop/content/docs/advanced/symbols.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ END
8181

8282
!!! example
8383

84-
- Direct MapServer request: <http://localhost:5002/?map=/etc/mapserver/railways.map&mode=map&layer=roads>
85-
- Local OpenLayers example: <http://localhost:5001/railways.html>
84+
- Direct MapServer request: <http://localhost:7000/?map=/etc/mapserver/railways.map&mode=map&layer=roads>
85+
- Local OpenLayers example: <http://localhost:7001/railways.html>
8686

8787
??? JavaScript "railways.js"
8888

workshop/content/docs/inputs/databases.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ Online example not available as no PostGIS installation on the server
7878

7979
!!! example "Exercise Links"
8080

81-
- MapServer request: <http://localhost:5002/?map=/etc/mapserver/postgis.map&mode=map&layer=water>
82-
- OpenLayers example: <http://localhost:5001/postgis.html>
81+
- MapServer request: <http://localhost:7000/?map=/etc/mapserver/postgis.map&mode=map&layer=water>
82+
- OpenLayers example: <http://localhost:7001/postgis.html>
8383

8484
??? JavaScript "postgis.js"
8585

@@ -97,7 +97,7 @@ Online example not available as no PostGIS installation on the server
9797

9898
1. Try and load another dataset into the database using the `ogr2ogr` approach above.
9999
2. Now add a new layer to the Mapfile to display the layer. You can make a direct request to MapServer in the form:
100-
<http://localhost:5002/?map=/etc/mapserver/postgis.map&mode=map&layers=water%20NEWLAYERNAME>.
100+
<http://localhost:7000/?map=/etc/mapserver/postgis.map&mode=map&layers=water%20NEWLAYERNAME>.
101101
3. Now update the JS file so the layer is visible as part of the interactive map, through WMS:
102102

103103
```js

workshop/content/docs/inputs/raster.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ A [COMPOSITE](https://mapserver.org/mapfile/composite.html) block is used on the
8686

8787
!!! example
8888

89-
- MapServer request: <http://localhost:5002/?map=/etc/mapserver/raster.map&mode=map&layer=dtm>
90-
- OpenLayers example: <http://localhost:5001/raster.html>
89+
- MapServer request: <http://localhost:7000/?map=/etc/mapserver/raster.map&mode=map&layer=dtm>
90+
- OpenLayers example: <http://localhost:7001/raster.html>
9191

9292
??? JavaScript "raster.js"
9393

workshop/content/docs/inputs/vector.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ than a huge GeoTIFF file.
3838

3939
!!! example
4040

41-
- MapServer request: <http://localhost:5002/?map=/etc/mapserver/stars.map&mode=map&layer=constellations>
42-
- OpenLayers example: <http://localhost:5001/stars.html>
41+
- MapServer request: <http://localhost:7000/?map=/etc/mapserver/stars.map&mode=map&layer=constellations>
42+
- OpenLayers example: <http://localhost:7001/stars.html>
4343

4444
??? JavaScript "stars.js"
4545

workshop/content/docs/introduction/commandline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE INPUT=FLATGEOBUF
2121
When run through a web server, data is passed to the `mapserv` application, which generates output that is then sent back through the web server.
2222
All web requests can be recreated and tested on the command line, this makes it a handy debugging tool.
2323

24-
To test a URL such as <http://localhost:5002/?map=/etc/mapserver/countries.map&mode=map> run the following command:
24+
To test a URL such as <http://localhost:7000/?map=/etc/mapserver/countries.map&mode=map> run the following command:
2525

2626
```bash
2727
mapserv "QUERY_STRING=map=/etc/mapserver/countries.map&mode=map"

workshop/content/docs/introduction/docker.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ A second container that serves the JavaScript example pages is also run using Do
3737
image: node:lts-slim
3838
container_name: node
3939
ports:
40-
- 5001:5001
40+
- 5001:7001
4141
working_dir: /home/node/app
4242
volumes:
4343
- ./app:/home/node/app
@@ -55,8 +55,8 @@ A second container that serves the JavaScript example pages is also run using Do
5555
# start docker in detached mode
5656
docker compose up -d
5757
# the following URLs should now be available
58-
# http://localhost:5002
59-
# http://localhost:5001
58+
# http://localhost:7000
59+
# http://localhost:7001
6060

6161
# stop docker
6262
docker compose down

workshop/content/docs/introduction/introduction.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ setup provided to you is actually working. The configuration file for Docker Com
5656
docker compose up
5757
```
5858

59-
2. Open <http://localhost:5002> in your browser, you should see an error message!
59+
2. Open <http://localhost:7000> in your browser, you should see an error message!
6060
3. Close by pressing `CTRL-C`
6161

6262
# Displaying your First Map
6363

64-
- Ensure that you have MapServer setup and running at <http://localhost:5002>.
65-
- Now try opening the following MapServer URL in your browser - <http://localhost:5002/?map=/etc/mapserver/countries.map&mode=map>
64+
- Ensure that you have MapServer setup and running at <http://localhost:7000>.
65+
- Now try opening the following MapServer URL in your browser - <http://localhost:7000/?map=/etc/mapserver/countries.map&mode=map>
6666

6767

6868
!!! note
@@ -72,7 +72,7 @@ setup provided to you is actually working. The configuration file for Docker Com
7272
```bash
7373
docker compose up -d
7474
docker container ls # verify that the mapserver container is running
75-
# visit http://localhost:5002 in your browser
75+
# visit http://localhost:7000 in your browser
7676
docker logs --follow mapserver # view logs
7777
docker compose stop
7878
```

workshop/content/docs/introduction/openlayers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A useful introduction to OpenLayers can be found [here](https://openlayers.org/w
1515
## HTML example pages
1616

1717
The HTML pages are served using a Docker container, and when the containers are
18-
running an index page for all workshop exercises is available at <http://localhost:5001/>.
18+
running an index page for all workshop exercises is available at <http://localhost:7001/>.
1919

2020
The HTML files used in the workshop are located in `exercises/app`.
2121
The JavaScript files can be found in `exercises/app/js`. These files can be edited, and changes viewed in the browser.

0 commit comments

Comments
 (0)