-
Notifications
You must be signed in to change notification settings - Fork 156
Alternate Ubuntu 14.04 installation instructions
Blake Girardot edited this page Jun 27, 2017
·
1 revision
(Somewhat out of date, has not been tested recently. I do this using VirtalBox Virtual Machine installed via the lubuntu 14.04 iso image)
sudo apt-get update sudo apt-get upgrade sudo apt-get -y install git && sudo apt-get -y install python-pip && sudo apt-get -y install python-dev && sudo apt-get -y install postgresql-9.1 && sudo apt-get -y install libpq-dev && sudo apt-get -y install postgresql-server-dev-9.1 && sudo apt-get -y install libxml2 && sudo apt-get -y install libxml2-dev && sudo apt-get -y install libgeos-3.3.3 && sudo apt-get -y install libgeos-dev && sudo apt-get -y install libproj0 && sudo apt-get -y install libproj-dev && sudo apt-get -y install libgdal1-dev && git clone --recursive git://github.com/hotosm/osm-tasking-manager2.git && wget http://postgis.net/stuff/postgis-2.1.4dev.tar.gz && tar -xvzf postgis-2.1.4dev.tar.gz && cd postgis-2.1.4dev && ./configure && make && sudo make install && cd .. && cd osm-tasking-manager2/ && sudo easy_install virtualenv && virtualenv --no-site-packages env && ./env/bin/pip install -r requirements.txt && ./env/bin/python setup.py develop && sudo -u postgres createuser -SDRP www-data && sudo -u postgres createdb -O www-data osmtm && sudo -u postgres psql -d osmtm -c "CREATE EXTENSION postgis;" vi development.ini -- to put in the username and password for www-data user you created above. vi local.ini -- I don't bother with this, not needed. ./env/bin/initialize_osmtm_db (this ends with a warning about unicode something or other, but that doesn't seem to matter.) ./env/bin/pserve --reload development.ini