Skip to content

Commit

Permalink
Merge pull request #1 from garnertb/mapstory-geogit
Browse files Browse the repository at this point in the history
Expose GeoGIT functionality.
  • Loading branch information
Clarence Davis committed Jun 16, 2015
2 parents c0e4068 + cd96160 commit 6efc719
Show file tree
Hide file tree
Showing 632 changed files with 182,782 additions and 68,376 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ geonode/static/lib/js/underscore.js
geonode/static/lib/js/waypoints.js
geonode/static/lib/js/angular.min.js
geonode/static/lib/js/angular.min.js.map
geonode/static/lib/js/ZeroClipboard.min.js
geonode/static/lib/js/moment.min.js

# Uploaded files
geonode/uploaded
Expand Down
15 changes: 6 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,20 @@ virtualenv:

branches:
only:
- master
- master

install:
- sudo apt-get -qq -y update
- sudo apt-get install -y libgdal1h python-gdal
- sudo apt-get install -y python-virtualenv python-imaging python-lxml python-pyproj python-shapely python-nose python-httplib2 python-httplib2 gettext
- sudo apt-get install -y --force-yes openjdk-6-jdk ant maven2 libjai-imageio-core-java --no-install-recommends
- sudo apt-get install -y python-gdal
- pip install -e . --use-mirrors

before_script:
- paver setup
- paver static

script:
- python manage.py test geonode.tests.smoke
- paver test
- paver test_integration
- paver test_integration -n geonode.tests.csw
# - paver test_javascript
- paver run_tests

after_script:
- paver reset_hard
Expand All @@ -37,5 +32,7 @@ notifications:
- "irc.freenode.org#geonode"
use_notice: true
email:
- geonode-dev@opengeo.org
- geonode-dev@boundlessgeo.com
- ingenieroariel@gmail.com
- simone.dalmasso@gmail.com
slack: geonode-sprint:oQylJRkU9feZ8JruGi6czWwe
40 changes: 20 additions & 20 deletions .tx/config
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,26 @@ source_file = geonode/locale/en/LC_MESSAGES/djangojs.po
source_lang = en
type = PO

[geonode.docs-index]
file_filter = docs/i18n/<lang>/LC_MESSAGES/index.po
source_file = docs/i18n/en/LC_MESSAGES/index.po
source_lang = en
type = PO
#[geonode.docs-index]
#file_filter = docs/i18n/<lang>/LC_MESSAGES/index.po
#source_file = docs/i18n/en/LC_MESSAGES/index.po
#source_lang = en
#type = PO

[geonode.docs-organizational]
file_filter = docs/i18n/<lang>/LC_MESSAGES/organizational.po
source_file = docs/i18n/en/LC_MESSAGES/organizational.po
source_lang = en
type = PO
#[geonode.docs-organizational]
#file_filter = docs/i18n/<lang>/LC_MESSAGES/organizational.po
#source_file = docs/i18n/en/LC_MESSAGES/organizational.po
#source_lang = en
#type = PO

[geonode.docs-reference]
file_filter = docs/i18n/<lang>/LC_MESSAGES/reference.po
source_file = docs/i18n/en/LC_MESSAGES/reference.po
source_lang = en
type = PO
#[geonode.docs-reference]
#file_filter = docs/i18n/<lang>/LC_MESSAGES/reference.po
#source_file = docs/i18n/en/LC_MESSAGES/reference.po
#source_lang = en
#type = PO

[geonode.docs-tutorials]
file_filter = docs/i18n/<lang>/LC_MESSAGES/tutorials.po
source_file = docs/i18n/en/LC_MESSAGES/tutorials.po
source_lang = en
type = PO
#[geonode.docs-tutorials]
#file_filter = docs/i18n/<lang>/LC_MESSAGES/tutorials.po
#source_file = docs/i18n/en/LC_MESSAGES/tutorials.po
#source_lang = en
#type = PO
10 changes: 7 additions & 3 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ The PRIMARY AUTHORS are (and/or have been):
* Christian Spanring (cspanring)
* Mark Illife (markiliffe)
* Jean Jordaan (jean)
* Humanitarian Information Unit (state-hiu)
* Derek Hohls (gamesbook)
* Stefano Menegon (menegon)




And here is an inevitably incomplete list of MUCH-APPRECIATED CONTRIBUTORS --
Expand Down Expand Up @@ -63,15 +68,14 @@ Nathan Hilbert (nathanhilbert)
Elliot Bradbury (ebradbury)
Mike Fedak (mikefedak)
Arvin Dino (warex03)
Humanitarian Information Unit (state-hiu)
Stefano Menegon (menegon)
Bebsher Salvio (blsalvio)
Evan Ricafort (@robinhood0x00)
Mark Iliffe (markiliffe)
Derek Hohls (gamesbook)
Yewondwossen Assefa (assefay)
Simone Balbo (sbsimo)

Cristina Ospino (cristinao)
John Jediny (nepanode)

A big THANK YOU goes to:

Expand Down
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM ubuntu:14.04

RUN \
apt-get update && \
apt-get install -y build-essential && \
apt-get install -y libxml2-dev libxslt1-dev libjpeg-dev gettext git python-dev python-pip && \
apt-get install -y python-pillow python-lxml python-psycopg2 python-django python-bs4 python-multipartposthandler transifex-client python-paver python-nose python-django-nose python-gdal python-django-pagination python-django-jsonfield python-django-extensions python-django-taggit python-httplib2 && \
apt-get install -y --force-yes openjdk-6-jdk ant maven2 --no-install-recommends

WORKDIR /geonode
ADD . /geonode

RUN pip install -e /geonode
RUN paver setup

CMD ["paver", "start", "-b 0.0.0.0:8000","-f"]
EXPOSE 8000
78 changes: 36 additions & 42 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -6,42 +6,34 @@
GeoNode
=========

If you just want to try GeoNode, it is recommended to use Ubuntu 12.04 and install the latest stable release::
If you just want to try GeoNode, it is recommended to use Ubuntu 12.04 and install the python software properties.::

sudo apt-get install python-software-properties

For 12.04 with python software properties installed, install the latest stable release of GeoNode.::

sudo add-apt-repository ppa:geonode/release
sudo apt-get update
sudo apt-get install geonode

If instead, you are interested in doing development on the source code, here are the instructions for Ubuntu 14.04::
If instead, you are interested in doing development on the source code, here are the instructions: http://docs.geonode.org/en/master/tutorials/devel/install_devmode/index.html#install-devmode.

# retrieve latest apt-get list
sudo apt-get update
Docker Usage
If you want to use Docker you can now:

# Essential build tools and libraries
sudo apt-get install -y build-essential libxml2-dev libxslt1-dev libjpeg-dev gettext git python-dev python-pip
# build the docker container
docker build -t geonode .

# Python and Django dependencies with official packages
sudo apt-get install python-pillow python-lxml python-psycopg2 python-django python-bs4 python-multipartposthandler transifex-client python-paver python-nose python-django-nose python-gdal python-django-pagination python-django-jsonfield python-django-extensions python-django-taggit python-httplib2

# Java dependencies
sudo apt-get install -y --force-yes openjdk-6-jdk ant maven2 --no-install-recommends
# run the docker container
docker run -d -p 8111:8000 geonode

# Clone GeoNode
git clone https://github.com/GeoNode/geonode.git
Or if you use fig:

# Install GeoNode in editable mode
sudo pip install -e geonode
cd geonode

# Compile GeoServer
paver setup

# Start the development servers
paver start

# Visit the development geonode site
http://localhost:8000
# build the container
fig build

# run the container
fig up

openSUSE Development Build Instructions::

Expand Down Expand Up @@ -86,40 +78,38 @@ Windows Development Build Instructions::

Prerequisites:
# Java JDK
# Python 2.6+
# Python 2.7
# ant (bin directory must be on system PATH)
# maven2 (bin directory must be on system PATH)
# Python distutils (easy_install)
# GDAL Core Libraries
# git

# Install and configure from the windows command prompt
If you don't already have python virtualenv installed, then do it now:
easy_install virtualenv
easy_install virtualenv

# Create virtualenv and activate it
cd <Directory to install the virtualenv & geonode into>
virtualenv venv
venv\scripts\activate

# Install Python native dependencies
easy_install PIL lxml==2.3
# this command will look for and install binary distributions (pip install will attempt to build and fail)

# Clone GeoNode
git clone https://github.com/GeoNode/geonode.git

# Install GeoNode in the local virtualenv
pip install -e geonode --use-mirrors

# Install compiled packages for Python 2.7 Win32
cd geonode

pip install paver
paver win_install_deps

# Install GeoNode in the local virtualenv
pip install -e . --use-mirrors

# Compile GeoServer
paver setup

# Start the servers
# This WON'T work on windows without changes to pavement.py
# and a windows batch script for starting jetty
paver start
paver start --java_path=C:/path/to/java/bin/java.exe

Mac OSX Development Build Instructions::

Expand Down Expand Up @@ -158,9 +148,12 @@ Mac OSX Development Build Instructions::
Once fully started, you should see a message indicating the address of your geonode.
The default username and password are ``admin`` and ``admin``::

Development GeoNode is running at http://localhost:8000/
The GeoNode is an unstoppable machine
Press CTRL-C to shut down
Development Geonode is running at http://localhost:8000/
To stop the GeoNode machine run:
paver stop

Or quit the server by pressing
CTRL-C to shut down

Before starting GeoNode (paver start), you could test your installation by running tests::

Expand All @@ -170,10 +163,11 @@ Before starting GeoNode (paver start), you could test your installation by runni
In case you want to build yourself the documentation, you need to install Sphinx and the run 'make html' from within the docs directory::

pip install Sphinx
pip install sphinx_rtd_theme
cd docs
make html

You can eventually generate a pdf containing the whole documentation set. For this purpose, if using Ubuntu 12.4 you will need to install the texlive-full package::
You can eventually generate a pdf containing the whole documentation set. For this purpose, if using Ubuntu you will need to install the texlive-full package::

sudo apt-get install texlive-full
make latexpdf
Expand Down
Loading

0 comments on commit 6efc719

Please sign in to comment.