run_tilemill.sh 474 B

12345678910
  1. #!/bin/bash
  2. # Set the locale - see http://jaredmarkell.com/docker-and-locales/
  3. # a work around for this error when running tilemill:
  4. # what(): locale::facet::_S_create_c_locale name not valid
  5. #TILEMILL_HOST=`ifconfig eth0 | grep 'inet addr:'| cut -d: -f2 | awk '{ print $1}'`
  6. #TILEMILL_HOST=${HOST:-0.0.0.0}
  7. cd /opt/tilemill/tilemill
  8. ./index.js --server=true --listenHost=${LISTEN_HOST:-0.0.0.0} --coreUrl=${CORE_URL:-0.0.0.0:20009} --tileUrl=${TILE_URL:-0.0.0.0:20008}