Coder Social home page Coder Social logo

geonode-client's Introduction

GeoNode Client

This is the javascript client part of GeoNode.

Debug Mode

Loads all scripts uncompressed.

ant init
ant debug

This will give you an application available at http://localhost:8080/ by default. You only need to run ant init once (or any time dependencies change).

Note that http://localhost:8080/index.html is just a "Hello World" to see if everything is configured correctly. This project is not intended to run standalone. Instead, it is meant to be used by GeoNode. To make GeoNode use it instead of the static, minified JavaScript resources, make your GeoNode's src/GeoNodePy/geonode/local_settings.py point to it:

GEONODE_CLIENT_LOCATION = "http://localhost:8080/"

Prepare App for Deployment

To create a zip with the minified application run the following:

ant zip

The archive will be assembled in the build directory. GeoNode's setup_geonode_client paver task expects this zip to be available at http://dev.geonode.org/dev-data/geonode-client.zip for the master branch, and http://dev.geonode.org/dev-data/synth/geonode-client.zip for the synth branch.

For now, since we don't have a post-commit hook yet that automatically updates these resources, if you are a core developer with access to dev.geonode.org, please copy the most recent geonode-client.zip to /var/www/dev.geonode.org/htdocs/dev-data/(synth/) after a commit.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.