Name: posm-build
Owner: SpatialDev
Description: null
Forked from: posm/posm-build
Created: 2016-03-22 22:03:02.0
Updated: 2016-03-22 22:03:04.0
Pushed: 2016-03-20 21:57:38.0
Homepage: null
Size: 228
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
diskutil unmountDisk /dev/<USB>
. (diskutil list
will show available devices on OS X)sudo dd if=ubuntu-14.04.3-server-amd64.img of=/dev/r<USB> bs=1m
or similar). It will remount as POSM
when done./Volumes/POSM/posm-build
: git pull
posm-build/kickstart/etc/settings.local
.F10
and pick Install POSM Server
from the menu.root
/ posm
and tail -f bootstrap.log
to check the installation status. This may take a while.Steps on Linux are similar, although the device name will differ.
root
wget -q -O - https://github.com/AmericanRedCross/posm-build/archive/master.tar.gz | tar -zxf - -C /root --strip=2
/root/etc/settings.local
(see /root/etc/settings
)posm_hostname="whateveryouwant"
posm_domain="yourdomain.foo"
posm_fqdn="whateveryouwant.yourdomain.foo"
posm_base_url="http://${posm_fqdn}"
fp_api_base_url="${posm_base_url}/fp"
fp_tile_base_url="${posm_base_url}/fp-tiler"
/root/scripts/bootstrap.sh base virt nodejs ruby gis mysql postgis nginx osm fieldpapers omk tl carto tessera admin
(note: wifi
is omitted from this list)/root/scripts/bootstrap.sh demo_data
, if you want it/posm
on your Kickstart / PXE web serverPOSM_Server.cfg
preseed, for example, add the following on the kernel line: auto=true url=http://ks/posm/kickstart/POSM_Server.cfg
POSM_Server.cfg
preseed expects that your kickstart server has a hostname of ks
, and you have a Ubuntu package cache (e.g. apt-cacher-ng
) at http://apt-proxy:3142
.mirror/http/proxy
(set to empty string to use default, do not just comment out)partman/early_command
and preseed/late_command
hostapd
)Configuration is achieved by putting local settings into a settings.local
file. See etc/settings for available settings. Ports for individual services are set here for example.
| URI | Service | Internal URL |
| — | — | — | — |
| /tiles/{style}
| tessera | http://127.0.0.1:8082 |
| /fp
| Field Papers | http://127.0.0.1:3000/fp |
| /fp-tiler
| Field Papers Tiler | http://127.0.0.1:8080/fp-tiler |
| /fp-tasks
| Field Papers Tasks | http://127.0.0.1:8081/fp-tasks |
| /omk
| OpenMapKit Server | http://127.0.0.1:3210 |
| /osm
| OpenStreetMap-website | http://127.0.0.1:9000 |