Deploy iD map editor on own server.

Hi i have own instance of osm server and working Poltatch2 on other server working with map data from the first one.
I’d like to use iD as well but I dont know how to deploy it. I’ve changed api address and replaced my customer key and secret that i get after register it in oauth settings, and i still get data from openstrretmap.org not from my own server.
Anyone can help me how to do this ?

If you cannot get any conctere hints here or at help.osm.org, try to contact the fellows from mapbox.com … they should know iD at its best …