Install portal-app-manager locally and reflect its usage
This commit is contained in:
parent
e150bd5f40
commit
b005ff3aec
@ -99,6 +99,7 @@ cp ${SOURCE_DIR}/basic/etc/nginx/sites-available/default /etc/nginx/sites-availa
|
|||||||
sed -i 's|QUIT/30|QUIT/5|' /usr/share/uwsgi/init/specific_daemon
|
sed -i 's|QUIT/30|QUIT/5|' /usr/share/uwsgi/init/specific_daemon
|
||||||
|
|
||||||
# Copy Portal resources
|
# Copy Portal resources
|
||||||
|
cp -r ${SOURCE_DIR}/basic/usr/local/bin/portal-app-manager /usr/local/bin/portal-app-manager
|
||||||
cp -r ${SOURCE_DIR}/basic/srv/portal /srv/portal
|
cp -r ${SOURCE_DIR}/basic/srv/portal /srv/portal
|
||||||
chown -R www-data:www-data /srv/portal
|
chown -R www-data:www-data /srv/portal
|
||||||
|
|
||||||
|
2
ckan.sh
2
ckan.sh
@ -117,4 +117,4 @@ cp ${SOURCE_DIR}/ckan/srv/ckan/cron-pageviews.sh /srv/ckan/cron-pageviews.sh
|
|||||||
cp ${SOURCE_DIR}/ckan/etc/cron.d/ckan /etc/cron.d/ckan
|
cp ${SOURCE_DIR}/ckan/etc/cron.d/ckan /etc/cron.d/ckan
|
||||||
|
|
||||||
# Add portal application definition
|
# Add portal application definition
|
||||||
${SOURCE_DIR}/basic/portal-app-manager.py ckan "https://{host}:8003/" "${CKAN_ADMIN_USER}" "${CKAN_ADMIN_PWD}"
|
portal-app-manager ckan "https://{host}:8003/" "${CKAN_ADMIN_USER}" "${CKAN_ADMIN_PWD}"
|
||||||
|
@ -66,7 +66,7 @@ systemctl start crisiscleanup
|
|||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
|
||||||
# Add portal application definition
|
# Add portal application definition
|
||||||
${SOURCE_DIR}/basic/portal-app-manager.py crisis-cleanup "https://{host}:8005/" "${CRISISCLEANUP_ADMIN_EMAIL}" "${CRISISCLEANUP_ADMIN_PWD}"
|
portal-app-manager crisis-cleanup "https://{host}:8005/" "${CRISISCLEANUP_ADMIN_EMAIL}" "${CRISISCLEANUP_ADMIN_PWD}"
|
||||||
|
|
||||||
# Uninstall CrisisCleanup compilation dependecies
|
# Uninstall CrisisCleanup compilation dependecies
|
||||||
apt-get -y purge libpq-dev ruby-dev zlib1g-dev
|
apt-get -y purge libpq-dev ruby-dev zlib1g-dev
|
||||||
|
2
cts.sh
2
cts.sh
@ -62,4 +62,4 @@ systemctl restart uwsgi
|
|||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
|
||||||
# Add portal application definition
|
# Add portal application definition
|
||||||
${SOURCE_DIR}/basic/portal-app-manager.py cts "https://{host}:8004/" "${CTS_ADMIN_EMAIL}" "${CTS_ADMIN_PWD}"
|
portal-app-manager cts "https://{host}:8004/" "${CTS_ADMIN_EMAIL}" "${CTS_ADMIN_PWD}"
|
||||||
|
@ -76,5 +76,5 @@ ln -s /etc/nginx/sites-available/gnuhealth /etc/nginx/sites-enabled/gnuhealth
|
|||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
|
||||||
# Add portal application definition
|
# Add portal application definition
|
||||||
${SOURCE_DIR}/basic/portal-app-manager.py gnuhealth "https://{host}:8006/index.html" admin "${GNUHEALTH_ADMIN_PWD}"
|
portal-app-manager gnuhealth "https://{host}:8006/index.html" admin "${GNUHEALTH_ADMIN_PWD}"
|
||||||
${SOURCE_DIR}/basic/portal-app-manager.py gnuhealth-clients -p clienturl "{host}:8006"
|
portal-app-manager gnuhealth-clients -p clienturl "{host}:8006"
|
||||||
|
@ -60,5 +60,5 @@ systemctl restart nginx
|
|||||||
cp ${SOURCE_DIR}/kanboard/etc/cron.d/kanboard /etc/cron.d/kanboard
|
cp ${SOURCE_DIR}/kanboard/etc/cron.d/kanboard /etc/cron.d/kanboard
|
||||||
|
|
||||||
# Add portal application definition
|
# Add portal application definition
|
||||||
${SOURCE_DIR}/basic/portal-app-manager.py kanboard "/kanboard/" "${KANBOARD_ADMIN_USER}" "${KANBOARD_ADMIN_PWD}"
|
portal-app-manager kanboard "/kanboard/" "${KANBOARD_ADMIN_USER}" "${KANBOARD_ADMIN_PWD}"
|
||||||
${SOURCE_DIR}/basic/portal-app-manager.py kanboard-mobile
|
portal-app-manager kanboard-mobile
|
||||||
|
@ -77,4 +77,4 @@ ln -s /etc/nginx/sites-available/pandora /etc/nginx/sites-enabled/pandora
|
|||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
|
||||||
# Add portal application definition
|
# Add portal application definition
|
||||||
${SOURCE_DIR}/basic/portal-app-manager.py pandora "https://{host}:8001/" "${PANDORA_ADMIN_USER}" "${PANDORA_ADMIN_PWD}"
|
portal-app-manager pandora "https://{host}:8001/" "${PANDORA_ADMIN_USER}" "${PANDORA_ADMIN_PWD}"
|
||||||
|
@ -78,7 +78,7 @@ systemctl restart uwsgi
|
|||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
|
||||||
# Add portal application definition
|
# Add portal application definition
|
||||||
${SOURCE_DIR}/basic/portal-app-manager.py sahana-eden "/eden/" "${SAHANA_ADMIN_USER}" "${SAHANA_ADMIN_PWD}"
|
portal-app-manager sahana-eden "/eden/" "${SAHANA_ADMIN_USER}" "${SAHANA_ADMIN_PWD}"
|
||||||
|
|
||||||
# TODO: Does matplotlib still require MPLCONFIGDIR directory?
|
# TODO: Does matplotlib still require MPLCONFIGDIR directory?
|
||||||
# If so, /srv/sahana/wsgihandler.py needs to be modified
|
# If so, /srv/sahana/wsgihandler.py needs to be modified
|
||||||
|
@ -78,8 +78,8 @@ systemctl restart uwsgi
|
|||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
|
||||||
# Add portal application definition
|
# Add portal application definition
|
||||||
${SOURCE_DIR}/basic/portal-app-manager.py sambro "https://{host}:8099/eden/" "${SAMBRO_ADMIN_USER}" "${SAMBRO_ADMIN_PWD}"
|
portal-app-manager sambro "https://{host}:8099/eden/" "${SAMBRO_ADMIN_USER}" "${SAMBRO_ADMIN_PWD}"
|
||||||
${SOURCE_DIR}/basic/portal-app-manager.py sambro-mobile
|
portal-app-manager sambro-mobile
|
||||||
|
|
||||||
# TODO: Does matplotlib still require MPLCONFIGDIR directory?
|
# TODO: Does matplotlib still require MPLCONFIGDIR directory?
|
||||||
# If so, /srv/sambro/wsgihandler.py needs to be modified
|
# If so, /srv/sambro/wsgihandler.py needs to be modified
|
||||||
|
@ -50,4 +50,4 @@ systemctl restart nginx
|
|||||||
cp ${SOURCE_DIR}/seeddms/etc/cron.d/seeddms /etc/cron.d/seeddms
|
cp ${SOURCE_DIR}/seeddms/etc/cron.d/seeddms /etc/cron.d/seeddms
|
||||||
|
|
||||||
# Add portal application definition
|
# Add portal application definition
|
||||||
${SOURCE_DIR}/basic/portal-app-manager.py seeddms "/seeddms/" "${SEEDDMS_ADMIN_USER}" "${SEEDDMS_ADMIN_PWD}"
|
portal-app-manager seeddms "/seeddms/" "${SEEDDMS_ADMIN_USER}" "${SEEDDMS_ADMIN_PWD}"
|
||||||
|
@ -49,5 +49,5 @@ systemctl restart nginx
|
|||||||
cp ${SOURCE_DIR}/ushahidi/etc/cron.d/ushahidi /etc/cron.d/ushahidi
|
cp ${SOURCE_DIR}/ushahidi/etc/cron.d/ushahidi /etc/cron.d/ushahidi
|
||||||
|
|
||||||
# Add portal application definition
|
# Add portal application definition
|
||||||
${SOURCE_DIR}/basic/portal-app-manager.py ushahidi "https://{host}:8002/" "${USHAHIDI_ADMIN_USER}" "${USHAHIDI_ADMIN_PWD}"
|
portal-app-manager ushahidi "https://{host}:8002/" "${USHAHIDI_ADMIN_USER}" "${USHAHIDI_ADMIN_PWD}"
|
||||||
${SOURCE_DIR}/basic/portal-app-manager.py ushahidi-mobile
|
portal-app-manager ushahidi-mobile
|
||||||
|
Loading…
Reference in New Issue
Block a user