A Vagrant based tile server development envirionment.
- Ubuntu 16.04 LTS
- Mapnik 3.0.x
- PostgreSQL 9.5.x
- PostGIS 2.2
- Apache 2.4.x
- tile_module
- osm2pgsql 0.88.x
- node 6.x
- carto 0.17.x
- kosmtik 0.0.15
- pm2 2.4.x
- cartocc
- openstreetmap-carto 3.1.0
- Vagrant
- VirtualBox
- 2GB+ Memory
$ git clone git@github.com:miya0001/vagrant-tile-server.git
$ cd vagrant-tile-server
$ vagrant up
Please wait 20 minutes or so. 😄
- Tile Server: http://192.168.33.10/map/0/0/0.png
- Kosmtik: http://192.168.33.10:6789/
Default values are in the provision/defaults.yml
, you can overwrite them with config.yml
.
- User: vagrant
- Database Name: gis
Run following after vagrant up
.
$ bundle install --path vendor/bundle
$ bundle exec rake spec
- Default data in the
provision/default.osm
contains only my hometown in Japan. 😄 - If you want to restart kosmtik, execute
pm2 restart kosmtik
.
MIT