- Ubuntu
- Install and update npm
sudo apt-get install npm ## Will pull NodeJS sudo npm install -g n sudo n latest
- References: how can I update Nodejs, and install Ubuntu
- Install and update npm
git clone https://github.com/MEPP-team/UD-Viz.git
cd UD-Viz/UD-Viz-Core
npm install
npm start
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.
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.
-
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
- Install and update npm which Windows Powershell