diff --git a/.github/workflows/DailyTests.yml b/.github/workflows/DailyTests.yml index f3ecd04..d59a57c 100644 --- a/.github/workflows/DailyTests.yml +++ b/.github/workflows/DailyTests.yml @@ -23,7 +23,7 @@ jobs: mv zim-tools_linux-x86_64-*/zim* /usr/local/bin/ - name: Run scraper - run: docker run -v $PWD/output:/output local-maps maps2zim --area monaco --geonames-region FR --name maps_en_test --title "Maps Test" --description "Test ZIM for maps" --file-name "tests_en_maps" --default-view=43.74,7.43,13 + run: docker run -v $PWD/output:/output local-maps maps2zim --area monaco --geonames-region MC --name maps_en_test --title "Maps Test" --description "Test ZIM for maps" --file-name "tests_en_maps" --default-view=43.74,7.43,13 - name: archive ZIM uses: actions/upload-artifact@v6 diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index 2befda3..e5fb347 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -99,7 +99,7 @@ jobs: mv zim-tools_linux-x86_64-*/zim* /usr/local/bin/ - name: Run scraper - run: docker run -v $PWD/output:/output local-maps maps2zim --area monaco --geonames-region FR --name maps_en_test --title "Maps Test" --description "Test ZIM for maps" --file-name "tests_en_maps" --default-view=43.74,7.43,13 + run: docker run -v $PWD/output:/output local-maps maps2zim --area monaco --geonames-region MC --name maps_en_test --title "Maps Test" --description "Test ZIM for maps" --file-name "tests_en_maps" --default-view=43.74,7.43,13 - name: archive ZIM uses: actions/upload-artifact@v6 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0274104..87c977f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -27,7 +27,7 @@ docker build -t local-maps . In general, you will run scraper only on `monaco` subset so that you avoid processsing the `planet` mbtiles. You also want only a small Geonames subset, e.g. `FR`. You can for instance run the following command: ``` -docker run --rm -it -v "$PWD/output":/output -v "$PWD/tmp":/tmp local-maps maps2zim --area monaco --geonames-region FR --name maps-tests_en_all --title "Maps Test" --description "Test ZIM for maps" --file-name "maps-tests_en_all" --default-view=43.74,7.43,13 --tmp /tmp --overwrite +docker run --rm -it -v "$PWD/output":/output -v "$PWD/tmp":/tmp local-maps maps2zim --area monaco --geonames-region MC --name maps-tests_en_all --title "Maps Test" --description "Test ZIM for maps" --file-name "maps-tests_en_all" --default-view=43.74,7.43,13 --tmp /tmp --overwrite ``` Extract interesting (scraper-generated) ZIM content and move it to `public` folder.