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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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')): |
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 \
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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 | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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> — Map data © <a href="http://www.openstreetmap.o' | |
'rg/copyright">OpenStreetMap</a>') | |
MAP_BASELAYERS = [{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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. | |
# |