{"payload":{"allShortcutsEnabled":false,"path":"applications/editors/potlatch","repo":{"id":511498073,"defaultBranch":"main","name":"svn-archive","ownerLogin":"openstreetmap","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2022-07-07T11:20:59.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/261431?v=4","public":true,"private":false,"isOrgOwned":true},"currentUser":null,"refInfo":{"name":"main","listCacheKey":"v0:1657837147.4115899","canEdit":false,"refType":"branch","currentOid":"dfa2acd1f6f48cdc4c12f366c0833e35a7e27bdc"},"tree":{"items":[{"name":"fonts","path":"applications/editors/potlatch/fonts","contentType":"directory"},{"name":"icons_dbl","path":"applications/editors/potlatch/icons_dbl","contentType":"directory"},{"name":"icons_png","path":"applications/editors/potlatch/icons_png","contentType":"directory"},{"name":"README.TXT","path":"applications/editors/potlatch/README.TXT","contentType":"file"},{"name":"advice.as","path":"applications/editors/potlatch/advice.as","contentType":"file"},{"name":"anchorpoint.as","path":"applications/editors/potlatch/anchorpoint.as","contentType":"file"},{"name":"changeset.as","path":"applications/editors/potlatch/changeset.as","contentType":"file"},{"name":"error.as","path":"applications/editors/potlatch/error.as","contentType":"file"},{"name":"gps.as","path":"applications/editors/potlatch/gps.as","contentType":"file"},{"name":"help.as","path":"applications/editors/potlatch/help.as","contentType":"file"},{"name":"history.as","path":"applications/editors/potlatch/history.as","contentType":"file"},{"name":"iconpanel.as","path":"applications/editors/potlatch/iconpanel.as","contentType":"file"},{"name":"inspector.as","path":"applications/editors/potlatch/inspector.as","contentType":"file"},{"name":"node.as","path":"applications/editors/potlatch/node.as","contentType":"file"},{"name":"offline.as","path":"applications/editors/potlatch/offline.as","contentType":"file"},{"name":"photos.as","path":"applications/editors/potlatch/photos.as","contentType":"file"},{"name":"poi.as","path":"applications/editors/potlatch/poi.as","contentType":"file"},{"name":"potlatch.as","path":"applications/editors/potlatch/potlatch.as","contentType":"file"},{"name":"potlatch.pl","path":"applications/editors/potlatch/potlatch.pl","contentType":"file"},{"name":"potlatch_assets.pl","path":"applications/editors/potlatch/potlatch_assets.pl","contentType":"file"},{"name":"potlatchtweet.cgi","path":"applications/editors/potlatch/potlatchtweet.cgi","contentType":"file"},{"name":"properties.as","path":"applications/editors/potlatch/properties.as","contentType":"file"},{"name":"relation.as","path":"applications/editors/potlatch/relation.as","contentType":"file"},{"name":"start.as","path":"applications/editors/potlatch/start.as","contentType":"file"},{"name":"tagfinder.as","path":"applications/editors/potlatch/tagfinder.as","contentType":"file"},{"name":"test.html","path":"applications/editors/potlatch/test.html","contentType":"file"},{"name":"tiles.as","path":"applications/editors/potlatch/tiles.as","contentType":"file"},{"name":"ui.as","path":"applications/editors/potlatch/ui.as","contentType":"file"},{"name":"undo.as","path":"applications/editors/potlatch/undo.as","contentType":"file"},{"name":"way.as","path":"applications/editors/potlatch/way.as","contentType":"file"},{"name":"world.as","path":"applications/editors/potlatch/world.as","contentType":"file"}],"templateDirectorySuggestionUrl":null,"readme":{"displayName":"README.TXT","richText":"
\nNOTE:\nThe Potlatch 2 source code has moved. Please see:\nhttp://wiki.openstreetmap.org/wiki/Potlatch_2/Developer_Documentation\nhttp://git.openstreetmap.org/potlatch2.git/\n\n\n\n\n\n============================================================================\n============================================================================\n============================================================================\n============================================================================\n============================================================================\n============================================================================\n============================================================================\n============================================================================\n============================================================================\n============================================================================\n\n\n\n== Compiling Potlatch ==\n\n=== Requirements ===\n\nYou will need Ming (www.libming.net) and the Perl bindings.\n\n=== Against a local installation ===\n\nIf you have the Rails port (full OSM codebase) set up on your machine, it's best to run Potlatch directly against that.\n\nTo compile Potlatch, simply run:\n\tperl potlatch.pl /path/to/rails_port/public/potlatch/potlatch.swf\n\t\nIf you'd like to enable a debug window, add --trace:\n\tperl potlatch.pl --debug /path/to/rails_port/public/potlatch/potlatch.swf\n\nYou can write to the debug window from the Potlatch source like this:\n\t_root.chat.text=\"Some text\";\n\t\nIf you're using Ming 0.3, add --ming3 to ensure that line widths are correct.\n\n=== Against the main OSM server ===\n\nYou can also run Potlatch locally, talking to the main openstreetmap.org server. In this case, to compile it, run:\n\tperl potlatch.pl --absolute potlatch.swf\n\t\nThis will compile the SWF to the current source directory. Then, to run Potlatch, open test.html in your web browser.\n\nNote that Flash Player has (really annoying) security restrictions that may prevent your local machine talking to a remote server, and vice versa. So on my OS X machine:\n\t\n\tfile:///Users/richard/Sites/potlatch/test.html - DOESN'T WORK\n\thttp://127.0.0.1/~richard/potlatch/test.html - works\n\thttp://localhost/~richard/potlatch/test.html - works\n\t\n\n== Authentication ==\n\nWhen Potlatch is run on the OSM site (or your local install of the same), it gets a token from Rails which it uses to authenticate.\n\nIf you're running it locally without a full install of the Rails port, you won't have a token. Happily, Potlatch can also authenticate by user ID and password.\n\nTo do this, find the reference to 'token' in test.html:\n fo.addVariable('token','VeSiWDkofUzgLLx5DgAU4rh1Wn23ro');\n\nand change it to:\n fo.addVariable('token','your_username:your_password');\n\n\n\nRichard Fairhurst\nrichard@systemeD.net\n