Skip to content
Snippets Groups Projects
Commit 2a5b2a93 authored by Lionel VIDALLER's avatar Lionel VIDALLER
Browse files

version alpha pour test deploiement

parent 95234452
Branches
No related tags found
No related merge requests found
......@@ -10,6 +10,8 @@ until [ -e "$FILE" ]; do
sleep 5
done
rm -Rf ./photondata && mkdir photondata
# Create elasticsearch index
if [ ! -d "/photon/photon_data/elasticsearch" ]; then
echo "Creating search index"
......
......@@ -10,13 +10,15 @@ sudo rm -Rf ./nominatimdata && mkdir nominatimdata
sudo rm -Rf ./photondata && mkdir photondata
# Build the image
cd nominatim-3.1
cd nominatim-3.5
docker build -t nominatim .
cd ..
# Get the Rhône-Alpes database
wget --directory-prefix=./nominatimdata https://download.geofabrik.de/europe/france/rhone-alpes-latest.osm.pbf
# Get the Métropole de Lyon database
# wget --directory-prefix=./nominatimdata https://download.data.grandlyon.com/files/grandlyon/localisation/bal/bal_200046977.csv
# convert the database to osm file
# Initialize the database
docker run -t \
-v `pwd`/nominatimdata:/data \
nominatim \
sh /app/init.sh /data/rhone-alpes-latest.osm.pbf postgresdata 4
sh /app/init.sh /data/mdl-latest.osm.pbf postgresdata 4
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment