I'm trying to run a local version of iD and am having problems. I'm on windows.

Here's what I've done so far:

git clone git@github.com:openstreetmap/iD
cd iD
python -m SimpleHTTPServer

I can then visit 127.0.0.1:8000 in browser & the map loads, everything seems to work.

The browser is logged in to openstreetmap.org, so I think that it picks up that I'm logged into osm automatically. But when I try to save changes, an OAUTH permission window pops up. I accept everything there, and it redirects me to http://127.0.0.1:8000/land.html?oauth_token=[removed] which is a page whose content is just:

!ÿþdist/land.html

Here's what view source on it looks like - maybe a broken unicode page which mentions symlink?:

!<symlink>ÿþd

It looks like iD may need more config to run locally? Is it just missing the hostname of the page OAUTH wants to redirect me to?

Also, "ÿþ" is the UTF-16 BOM.

asked 27 May '15, 13:42

RationalTangle's gravatar image

RationalTangle
26114
accept rate: 0%

edited 27 May '15, 14:30


It was a symlink problem due to windows. I just had to move <root>dist/land.html to <root>/land.html (replacing the symlink originally at land.html)

There is symlink for css/img - you have to copy dist/img to replace css/img also.

permanent link

answered 27 May '15, 14:33

RationalTangle's gravatar image

RationalTangle
26114
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×274

question asked: 27 May '15, 13:42

question was seen: 1,663 times

last updated: 27 May '15, 14:33

powered by OSQA