Giter Club home page Giter Club logo

annisvis's Introduction

#Layout site/ - statically served files (js libraries and css) cgi-bin/ - application directory cgi-bin/js - js source files

#Config Files

  • annisvis.conf - global configuration, see example file
  • Predefined locations (name configured in annisvis.conf) Format: { "locationName" : { "lat" : "latValue", "lng" : "lngValue" } }

#Install

  • download annisvis to your deployment directory (application path must be writeable to apache)
  • download jquery.contextmenu and oms to the site directory
  • obtain API Keys for Google Geocoder and the Google Maps JS API
  • copy cgi-bin/annisvis.conf.sample to annisvis.conf and fill out values.
  • integrate cgi-bin/apache.conf in your apache configuration (e.g. by placing it in /etc/apache2/modules.d), making sure it loads after mod_wsgi is loaded
  • both these files are configured to expect the application in /srv/annisvis but you can set it to any directory
  • annisvis.py will cache geocoded locations when the page is loaded for the first time, you can invoke it from the command line too to do that
  • you can make it re-code the locations by deleting locations_cache.json

#Sample Deployment

#Dependencies ##JavaScript Libraries

##Python Libraries

##Other

  • ANNIS
  • Apache and mod_wsgi
  • python 2

annisvis's People

Contributors

fpetran avatar

Watchers

 avatar James Cloos avatar Arne Neumann 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.