Giter VIP home page Giter VIP logo

x3domlet's Introduction

x3dom + leaflet

You can either run the demo:

  • On a web server with PHP support
  • Using the "Standalone installation" instructions below (could taint your system)
  • Using the "Docker image" instructions below (without tainting your system)

1. Standalone installation

1.1. Install dependencies

You need php-cgi installed.

Change to the x3domlet directory

cd x3domlet

If you don't have nodejs installed you may install it as a standard user through nvm with the following command:

docker/install-nodejs.sh

When nodejs is installed you can run:

npm install && bower install

1.2. Copy the test data

You need to copy the data to be displayed in directories models/ and kml/

1.3. Run the test server and open a browser window

File modifications will trigger the page reload

gulp

2. Docker image

The docker image allow you to run the demo in a virtual container without tainting your system.

The current user should be allowed to run docker. Otherwise use 'sudo'.

2.1. Build the docker image

  • Change to the ./docker directory.
  • Run "make" to build the docker image.

2.2. Test

From the directory containing the "/models" and "/kml" folders you want to use, run:

x3domlet/docker/run.sh

It will start the x3domlet docker image and open a browser window. On exit the script should stop and (WARNING) will remove the container and associated volumes.

x3domlet's People

Contributors

andreyfilippov avatar luxigo avatar okdzhimiev avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  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.