Skip to content

Commit 6a8c756

Browse files
authored
Merge pull request #349 from mapswipe/dev
Dev
2 parents d870982 + d05af0c commit 6a8c756

File tree

5 files changed

+7
-0
lines changed

5 files changed

+7
-0
lines changed

docs/source/cli.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,8 @@ Options:
113113
--help Show this message and exit.
114114
115115
```
116+
117+
## Run a script which requires mapswipe_workers library
118+
```
119+
docker-compose run mapswipe_workers python3 python_scripts/add_project_geometries_to_api.py
120+
```

mapswipe_workers/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ RUN mkdir --parents .local/share/mapswipe_workers
1717

1818
# Copy mapswipe workers repo from local repo
1919
COPY mapswipe_workers/ mapswipe_workers/
20+
COPY python_scripts/ python_scripts/
21+
COPY sample_data/ sample_data/
2022
COPY requirements.txt .
2123
COPY setup.py .
2224
COPY serviceAccountKey.json .

mapswipe_workers/scripts/add_project_geometries_to_api.py renamed to mapswipe_workers/python_scripts/add_project_geometries_to_api.py

File renamed without changes.
File renamed without changes.

mapswipe_workers/scripts/mapswipe_to_hot_tm_project.py renamed to mapswipe_workers/python_scripts/mapswipe_to_hot_tm_project.py

File renamed without changes.

0 commit comments

Comments
 (0)