Skip to content

Instantly share code, notes, and snippets.

View BerryDaniel's full-sized avatar

Daniel Berry BerryDaniel

  • Covert Artisan Ales
  • Sioux Falls, SD
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
docker run -it cloudfoundry/cflinuxfs2 /bin/bash
apt-get install -y python-dev python-pip
pip install virtualenv
virtualenv .venv
. .venv/bin/activate
pip install https://s3.amazonaws.com/boundless-cloudfoundry/manylinux/whl/GDAL-2.1.2-cp27-cp27mu-manylinux1_x86_64.whl 
python
# -*- coding: utf-8 -*-
#########################################################################
#
# Copyright (C) 2016 Boundless Spatial
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
import ldap
import os
from ast import literal_eval as le
from .default import str2bool
from django_auth_ldap.config import (ActiveDirectoryGroupType,
LDAPSearch,
MemberDNGroupType)
if str2bool(os.environ.get('AUTH_LDAP_DEBUG')):

Configuration

The installation is a two virtual machine setup.

  • Virtual Machine 1 (Applications)
  • Virtual Machine 2 (Services)

Disable the Red Hat Base repository

subscription-manager config --rhsm.manage_repos=0
service rhsmcertd stop

Installing Boundless Exchange via RPMs


Note: The Operating System options are CentOS/RHEL Version 6.*/7.*. The instructions are also for development releases, which change quite frequently. If you are looking for production releases, please go to the Boundless Exchange Site.

While in a terminal session with sudo access, run the following commands.

sudo yum -y install https://s3.amazonaws.com/exchange-development-yum/exchange-development-repo-1.0.0.noarch.rpm
sudo yum -y update

sudo yum install exchange \

#!/usr/bin/env bash
set -eo pipefail
version="1.2.0"
sandbox=/tmp/sandbox
vendor=/opt/boundless/vendor
mkdir -p $vendor/{bin,lib,include,share} $sandbox
# build and install alternate install of python
'use strict';
(function(){
var module = angular.module('geonode_main_search', [], function($locationProvider) {
if (window.navigator.userAgent.indexOf("MSIE") == -1){
$locationProvider.html5Mode({
enabled: true,
requireBase: false
});
@BerryDaniel
BerryDaniel / local_settings.py
Created August 10, 2016 20:40
Example GeoNode local_settings.py file with STAMEN Basemaps
# -*- coding: utf-8 -*-
from geonode import LOCAL_GEOSERVER
STAMEN_ATTR = ('Map tiles by <a href="http://stamen.com">Stamen Design</a>, <a'
' href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</'
'a> &mdash; Map data &copy; <a href="http://www.openstreetmap.o'
'rg/copyright">OpenStreetMap</a>')
MAP_BASELAYERS = [{
# -*- coding: utf-8 -*-
#########################################################################
#
# Copyright (C) 2012 Open Source Geospatial Foundation
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#