{"action":"opened","issue":{"url":"https://api.github.com/repos/kalabox/kalabox/issues/324","labels_url":"https://api.github.com/repos/kalabox/kalabox/issues/324/labels{/name}","comments_url":"https://api.github.com/repos/kalabox/kalabox/issues/324/comments","events_url":"https://api.github.com/repos/kalabox/kalabox/issues/324/events","html_url":"https://github.com/kalabox/kalabox/issues/324","id":96224893,"number":324,"title":"Symlinking the \"code\" directory","user":{"login":"quicksketch","id":100206,"avatar_url":"https://avatars.githubusercontent.com/u/100206?v=3","gravatar_id":"","url":"https://api.github.com/users/quicksketch","html_url":"https://github.com/quicksketch","followers_url":"https://api.github.com/users/quicksketch/followers","following_url":"https://api.github.com/users/quicksketch/following{/other_user}","gists_url":"https://api.github.com/users/quicksketch/gists{/gist_id}","starred_url":"https://api.github.com/users/quicksketch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quicksketch/subscriptions","organizations_url":"https://api.github.com/users/quicksketch/orgs","repos_url":"https://api.github.com/users/quicksketch/repos","events_url":"https://api.github.com/users/quicksketch/events{/privacy}","received_events_url":"https://api.github.com/users/quicksketch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-21T04:39:07Z","updated_at":"2015-07-21T04:39:07Z","closed_at":null,"body":"A lot of my repositories have peripheral items in the root of the repository, with the PHP code in a `docroot` or `www` directory. For example, see the Lullabot Boilerplate for stubbing out a typical Drupal project: https://github.com/Lullabot/drupal-boilerplate\r\n\r\nThe trouble with this is that Kalabox assumes that the docroot is directly within the \"code\" directory of a Kalabox app. I tried symlinking from `myproject/docroot` to `code`, but apparently all syncing is immediately broken by this. Apparently syncthing supported symlinks once but then removed the option later. Now it doesn't support it at all: https://github.com/syncthing/syncthing/issues/92\r\n\r\nThe problem I'm encountering now is that without moving my code to the root of the repository, my sites all must be accessed in a sub directory when access through the web browser, e.g. `http://example.kbox/docroot`. With a good amount of code that assumes a top-level docroot, this breaks most sites.\r\n\r\nI'm not familiar with syncthing or how we're using it. Is there any way we can make it sync a subdirectory or symlink instead of having this subdirectory?"}}