Commit db1d6a59 authored by Mohammed Zia's avatar Mohammed Zia
Browse files

post scanned images during container setup

parent 110bc39e
...@@ -27,7 +27,8 @@ VOLUME ["$REF_DIR"] ...@@ -27,7 +27,8 @@ VOLUME ["$REF_DIR"]
WORKDIR $WORK_DIR WORKDIR $WORK_DIR
COPY data/worldshapefile /tmp/worldshapefile COPY data/worldshapefile /tmp/worldshapefile
COPY scripts/update_db.py update_db.py COPY data/results /tmp/results
COPY scripts scripts
COPY root.conf root.conf COPY root.conf root.conf
...@@ -6,7 +6,11 @@ ...@@ -6,7 +6,11 @@
# Wait for a while and then run # Wait for a while and then run
`docker exec -it postgis-container python update_db.py` `docker exec -it postgis-container python /scripts/update_db.py`
# Populate db with scanned regions
`docker exec -it postgis-container bash /scripts/post_scanned.sh`
# Populate one row in Luxumberg table - Test # Populate one row in Luxumberg table - Test
......
No preview for this file type
...@@ -16,4 +16,4 @@ ...@@ -16,4 +16,4 @@
"PROJ_WORLD_UNION_VIEW": "world_union_view", "PROJ_WORLD_UNION_VIEW": "world_union_view",
"PROJ_WORLD_INDIVIDUAL_GEOM_JSON": "geom_json", "PROJ_WORLD_INDIVIDUAL_GEOM_JSON": "geom_json",
"PROJ_WORLD_INDIVIDUAL_GEOM": "geom" "PROJ_WORLD_INDIVIDUAL_GEOM": "geom"
} }
\ No newline at end of file
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