Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to run this project locally #37

Open
aminabvaal opened this issue Aug 13, 2019 · 7 comments
Open

how to run this project locally #37

aminabvaal opened this issue Aug 13, 2019 · 7 comments

Comments

@aminabvaal
Copy link

No description provided.

@Jing25
Copy link

Jing25 commented Sep 2, 2019

I have the same question

@on-myown
Copy link

How can I run this project on my local?

@lozenge0
Copy link

agreed, an example project utilising this would be a huge help in explaining how to use this

@vitexikora
Copy link

Some tutorial or at least a reproducible repo would be awesome. After several hours, I am unable to run this... I am getting results like that, with the original gfs.json data and almost identical logic as in index.html...
windy

@missionloyd
Copy link

how do you run the project locally?

@mpayson
Copy link

mpayson commented Jun 26, 2020

I tried changing line 39 in index.html to remove the slash before "plugins" and it worked for me behind a local static server (eg serve). Does this work for you?
plugins: location.pathname.replace(/\/[^/]+$/, "") + "plugins"

@hbriga
Copy link

hbriga commented Jul 21, 2021

  1. download the zip file from github or clone the project:
    git clone https://github.com/Esri/wind-js.git
  2. start a minimalist local web-server using python (you can do it using node.js if you prefer), doing this:
    a. on your terminal, change directory to where wind-js folder is located and fire up python.
    b. type the following:
    import os
    os.system('python3 -m http.server 8765 &')
  3. point your browser to localhost:8765
  4. you should see the map on your web browser.

hope this could help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants