GithubHelp home page GithubHelp logo

tsaulogy / mlw16-geo-wkshp-tutorial Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 146.06 MB

Tutorial Code for MarkLogic World 2016 Geospatial workshop

Batchfile 0.51% Shell 0.40% JavaScript 89.60% CSS 4.90% HTML 4.57% XQuery 0.02%

mlw16-geo-wkshp-tutorial's Introduction

MarkLogic World 2016 Geospatial Workshop

This project contains data, query workspaces, and code to use for the MarkLogic World 2016 Geospatial Workshop.

For the slides that accompany this workshop, please contact me at [email protected]

##Requirements

  • MarkLogic 8.0-4 or newer installed, running (but must be MarkLogic 8.0-x)
  • Java
  • cURL (provided for Windows)
  • MarkLogic Content Pump (AKA MLCP) (included in this repository)

##Quickstart

If you do not have MarkLogic installed or do not have a proper version installed, please complete Step 0 before proceeding to Step 1.

###0. Setup MarkLogic & Java ####Setup MarkLogic

  1. Uninstall your current MarkLogic Server (if applicable)
  2. Download the latest version of MarkLogic from the MarkLogic Developer Community
  3. Install and Start MarkLogic (see MarkLogic Documentation for more details - Installing MarkLogic Server & Starting MarkLogic Server
  • Hint: For those of you new to MarkLogic, don't worry if it looks like nothing happens when you click 'Start MarkLogic Server' -- MarkLogic Server will start running in the background, and you can proceed to Step 4
  1. In your browser (e.g. Chrome, Firefox), go to http://localhost:8001 and configure the database. Choose the below user name and password.

You will see the Admin Interface when you are done configuring MarkLogic.

####Setup Java

  1. Ensure you have Java installed (to check, run java -version in your terminal and see if you get a version response)

###1. Grab a local copy of this repo Download or clone this repo to your desktop. Navigate to the directory that includes the repository. Make sure MarkLogic is up and running (if you've completed Step 0, you're good to go.).

e.g. Unzip the repo and go to folder D:\github\mlw16-geo-wkshp-tutorial-master

###2. Setup database, modules, appserver and load data On a Mac or Linux machine, run:

sh setup.sh

On Windows, run:

setup.bat

Under the hood, these scripts use MarkLogic's Management API and MLCP to do the setup.

The scripts assume you chose admin : admin for your MarkLogic admin login information (see Step 0.4 above). If you did not choose this login during your MarkLogic configuration, you will need to open up the appropriate script file and update the USERNAME and PASSWORD.

###3. Check to make sure the setup has run correctly Open your browser and go to http://localhost:8001/. Check the Admin Interface to see if new databases, forests, and an appserver has been setup. If your setup is successful, you should see:

  • mlw16-geo-wkshp - listed as one of the databases
  • mlw16-geo-wkshp-1 - listed as one of the forests
  • mlw16-geo-wkshp-appserver : 8888 [HTTP] - listed as one of the application servers

Open your browser and go to http://localhost:8888/main.html. You should be able to see a map at this location, based on your appsever setup

###4. Import the exercises to your Query Console (QConsole) Open your browser and go to http://localhost:8000/qconsole. This is the Query Console (AKA QConsole).
On the right side of your browser, you should see a panel that lists your QConsole workspaces. Import the workspaces from the workspace directory in this repo. This tutorial includes JavaScript and XQuery versions of the same workspaces.

###5. Now you're ready to go! Walk through the workspaces in sequence (starting from Unit 1). When you get to Unit 4, read EXERCISES.txt in this repository's geo-app directory before getting started.

Have fun!

mlw16-geo-wkshp-tutorial's People

Contributors

retwere avatar tsaulogy avatar tsubhadra avatar

Watchers

 avatar  avatar  avatar

Forkers

tsubhadra

mlw16-geo-wkshp-tutorial's Issues

0 results found

Hello!

I have downloaded and installed all the prerequisites + configured the indexex + ran the app from the solutions folder but the app still shows no results. I can run the workspaces' queries .
Doc1.pdf

Could you please help me troubleshoot the app?

Thanks

Mina

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.