Giter Site home page Giter Site logo

aepaja / riskinfo_lk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from riskinfo-lk/riskinfo_lk

0.0 0.0 0.0 6.2 MB

GeoNode custom front-end design for riskinfo.lk built on top of GeoNode 2.4

Home Page: http://riskinfo.lk

Shell 0.27% Python 15.52% CSS 31.98% JavaScript 8.24% HTML 43.98%

riskinfo_lk's Introduction

Riskinfo.lk GeoNode

Installation for development

Create a new virtualenv for riskinfo_lk, install GeoNode and setup your project:

$ mkvirtualenv riskinfo_lk
$ pip install geonode

To install the latest from GeoNode's master branch use the following command:

$ pip install -e git+https://github.com/GeoNode/geonode.git#egg=geonode --upgrade

Setup your GeoNode for usage. Download a geoserver.war to use and start the development server:

$ git clone https://github.com/riskinfo-lk/riskinfo_lk.git
$ cd riskinfo_lk
$ paver setup # downloads geoserver
$ paver start

Setting up a vagrant box

To configure a local development virtual machine, you will need to have virtualbox and vagrant installed.

Note: You may need to change the IP configuration in the VagrantFile to a valid ip on the local network

For development:

$ vagrant up dev

The basic box will be downloaded automatically and will be provisioned with GeoNode (see the bash script):

$ vagrant ssh [dev|production]
$ geonode createsuperuser

For a local vagrant based production deploy, you will need to install ansible and the geonode ansible role and then:

$ vagrant up production

Production Deployment

In order to install for production on a remote machine, you will need to install ansible:

$ sudo pip install ansible

Note: It is advisable to install ansible system wide using sudo

Next, you will need to install the ansible role for geonode:

$ ansible-galaxy install ortelius.geonode

Then update /etc/ansible/hosts to include your webservers host or dns entry:

[webservers]
###.###.###.###

Then you can run the playbook to install GeoNode:

$ ansible-playbook playbook.yml

riskinfo_lk's People

Contributors

amithdm avatar barunpaudel avatar bluekvirus avatar jj0hns0n avatar vdeparday avatar

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.