Skip to content

File ../dist/itowns.js ../dist/debug.js #1832

Answered by jailln
Takieddinex asked this question in Q&A
Discussion options

You must be logged in to vote

I though you were using Apache since you put itowns folder in htdocs. If you're a complete beginner, the simplest way is to start itowns with npm:

  • Install node and npm (https://nodejs.org/en/download/)
  • Clone or itowns repository
  • Open a terminal and change directory to itowns folder
  • Run npm install to install the dependencies of itowns
  • Then run npm start : that will launch a local server for itowns, accessible at http://localhost:8080/. To access itowns examples: http://localhost:8080/examples and http://localhost:8080/examples/3dtiles_basic.html for the example that you are interested into.

If you follow these steps, you do not need to css nor js lib filepath to run the examples.

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@Takieddinex
Comment options

Comment options

You must be logged in to vote
1 reply
@Takieddinex
Comment options

Answer selected by jailln
Comment options

You must be logged in to vote
1 reply
@Takieddinex
Comment options

Comment options

You must be logged in to vote
1 reply
@Takieddinex
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1831 on April 04, 2022 15:11.