Skip to content

Latest commit

 

History

History
58 lines (44 loc) · 2.29 KB

install.md

File metadata and controls

58 lines (44 loc) · 2.29 KB

INSTALL NOTES

Prerequisite: install nodejs and npm

Installation of the client side

  git clone https://github.com/MEPP-team/UD-Viz.git
  cd UD-Viz/UD-Viz-Core
  npm install
  npm start

Developer note

When working on a specific version of the code (in particular when making changes to the underlying iTowns) you might (will) need to work with a specific version of iTowns and thus use a different install process. Refer to the install.sh shell script for concrete means on how to achieve this.

Running a demo

Use your web browser to open http://localhost:8080/.

If the server-side component is not installed on your computer, you will not be able to run the full module demo of Urban Data Viewer.

Thus, you can choose one of those solutions to do so:

  • Either you just need a view of 3D objects, in which case there is nothing more to do

  • Or you want to have an insight of all UD-Viz features (including handling of documents), then you need install all the tools necessary for the server-side here in order to be able to run it locally;

  • Or you can also modify the attribute server.url of the file <path-to-UD-Viz>/UD-Viz-Core/examples/data/config/generalDemoConfig.json as described below:

    "url":"http://rict.liris.cnrs.fr:1525/",
    

You will then be able to run the full module demo of UD-Viz.

Notes

  • For an install of the full pipeline of our application refer to these install notes.

  • Windows

    • Install and update npm which Windows Powershell
      iex (new-object net.webclient).downstring(‘https://get.scoop.sh’)
      scoop install nodejs
      cd UD-Viz/UD-Viz-Core
      npm install
      npm start