Documentation update

This commit is contained in:
Disassembler 2017-12-26 09:32:50 +01:00
parent 639a253d80
commit db1ee7571d
3 changed files with 5 additions and 3 deletions

View File

@ -65,4 +65,6 @@ vi 00-install.sh
| Sahana | 8001 | 8401 | | Sahana | 8001 | 8401 |
| CKAN | 8003 | 8403 | | CKAN | 8003 | 8403 |
| CKAN Datapusher | 8004 | N/A | | CKAN Datapusher | 8004 | N/A |
| Crisis Cleanup | 8005 | 8405 |
| CTS | 8006 | 8406 |
| OpenMapKit | 8007 | 8407 | | OpenMapKit | 8007 | 8407 |

View File

@ -14,7 +14,7 @@ RUN \
apk --no-cache add libjpeg-turbo libmagic libpq py2-pip zlib \ apk --no-cache add libjpeg-turbo libmagic libpq py2-pip zlib \
# Install build dependencies # Install build dependencies
&& apk --no-cache add --virtual .deps git build-base libjpeg-turbo-dev libxml2-dev libxslt-dev postgresql-dev python2-dev zlib-dev \ && apk --no-cache add --virtual .deps git build-base libjpeg-turbo-dev libxml2-dev libxslt-dev postgresql-dev python2-dev zlib-dev \
# Add edge/testing repository for postgis support # Add edge/testing repository for postgis (geos) support
&& echo 'http://repository.fit.cvut.cz/mirrors/alpine/edge/testing' >>/etc/apk/repositories \ && echo 'http://repository.fit.cvut.cz/mirrors/alpine/edge/testing' >>/etc/apk/repositories \
&& apk --no-cache add geos \ && apk --no-cache add geos \
# Hackfix for python find_library('c') call # Hackfix for python find_library('c') call

View File

@ -12,7 +12,7 @@ envsubst <${SOURCE_DIR}/createdb.sql | docker exec -i postgres psql
# Copy existing config files into persistent storage # Copy existing config files into persistent storage
mkdir -p /srv/crisiscleanup/conf mkdir -p /srv/crisiscleanup/conf
chown 8005:8005 /srv/crisiscleanup/conf chown 8005:8005 /srv/crisiscleanup/conf
docker run --rm -v /srv/crisiscleanup/conf:/mnt/config crisiscleanup cp -rp /srv/crisiscleanup/config/. /mnt/config docker run --rm -v /srv/crisiscleanup/conf:/mnt/conf crisiscleanup cp -rp /srv/crisiscleanup/config/. /mnt/conf
chown root:root /srv/crisiscleanup/conf chown root:root /srv/crisiscleanup/conf
# Configure CrisisCleanup # Configure CrisisCleanup
@ -30,7 +30,7 @@ docker run --rm --link=postgres -v /srv/crisiscleanup/conf:/srv/crisiscleanup/co
docker run --rm --link=postgres -v /srv/crisiscleanup/conf:/srv/crisiscleanup/config -v /tmp/seeds.rb:/srv/crisiscleanup/db/seeds.rb crisiscleanup rake db:seed docker run --rm --link=postgres -v /srv/crisiscleanup/conf:/srv/crisiscleanup/config -v /tmp/seeds.rb:/srv/crisiscleanup/db/seeds.rb crisiscleanup rake db:seed
rm /tmp/seeds.rb rm /tmp/seeds.rb
# Create Rails service # Create CrisisCleanup service
cp ${SOURCE_DIR}/etc/init.d/crisiscleanup /etc/init.d/crisiscleanup cp ${SOURCE_DIR}/etc/init.d/crisiscleanup /etc/init.d/crisiscleanup
rc-update add crisiscleanup boot rc-update add crisiscleanup boot
service crisiscleanup start service crisiscleanup start