{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4049","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4049/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4049/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4049/events","html_url":"https://github.com/Automattic/wp-calypso/issues/4049","id":141009983,"number":4049,"title":"Deployment documentation is missing","user":{"login":"cadecairos","id":438003,"avatar_url":"https://avatars.githubusercontent.com/u/438003?v=3","gravatar_id":"","url":"https://api.github.com/users/cadecairos","html_url":"https://github.com/cadecairos","followers_url":"https://api.github.com/users/cadecairos/followers","following_url":"https://api.github.com/users/cadecairos/following{/other_user}","gists_url":"https://api.github.com/users/cadecairos/gists{/gist_id}","starred_url":"https://api.github.com/users/cadecairos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cadecairos/subscriptions","organizations_url":"https://api.github.com/users/cadecairos/orgs","repos_url":"https://api.github.com/users/cadecairos/repos","events_url":"https://api.github.com/users/cadecairos/events{/privacy}","received_events_url":"https://api.github.com/users/cadecairos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/OSS%20Citizen","name":"OSS Citizen","color":"5319e7"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Type]%20Question","name":"[Type] Question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-03-15T15:34:18Z","updated_at":"2016-04-01T20:20:25Z","closed_at":null,"body":"I'm working on figuring out how to deploy a custom version of Calypso that doesn't depend directly on wordpress.com, rather, it just uses the wordpress.com OAuth API. I've created a custom Dockerfile that is compatible with Heroku deploys, but now I need some advice.\r\n\r\nCould I get some clarification on what a complete configuration file for a deployment like I described above might be (which variables should/should not be set)? \r\n\r\nThere also appears to be a custom configuration script sourced by the committed Dockerfile, but there is no documentation on what it does, or why it's necessary for a production Calypso Docker image - what does it do, and is it necessary for my case?\r\n\r\nHere's what my current production config looks like: \r\n\r\n```json\r\n{\r\n  \"port\": 3000,\r\n  \"desktop_oauth_client_id\": \"xxxxxxxxx\",\r\n  \"desktop_oauth_client_secret\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\r\n  \"desktop_oauth_token_endpoint\": \"https://public-api.wordpress.com/oauth2/token\",\r\n  \"features\": {\r\n    \"oauth\": \"true\"\r\n  }\r\n}\r\n```  \r\n\r\nedit: for clarity\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/204553768","html_url":"https://github.com/Automattic/wp-calypso/issues/4049#issuecomment-204553768","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/4049","id":204553768,"user":{"login":"simonwex","id":25260,"avatar_url":"https://avatars.githubusercontent.com/u/25260?v=3","gravatar_id":"","url":"https://api.github.com/users/simonwex","html_url":"https://github.com/simonwex","followers_url":"https://api.github.com/users/simonwex/followers","following_url":"https://api.github.com/users/simonwex/following{/other_user}","gists_url":"https://api.github.com/users/simonwex/gists{/gist_id}","starred_url":"https://api.github.com/users/simonwex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonwex/subscriptions","organizations_url":"https://api.github.com/users/simonwex/orgs","repos_url":"https://api.github.com/users/simonwex/repos","events_url":"https://api.github.com/users/simonwex/events{/privacy}","received_events_url":"https://api.github.com/users/simonwex/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T20:20:25Z","updated_at":"2016-04-01T20:20:25Z","body":"@rralian thanks for digging in to this! I'm going to hand this off to @cadecairos. Our hope is to get our prototype hacked together so we can test it with our users. It shows promise long-term and I think is a compelling use of the wp API. \r\n\r\nI'm happy for @cadecairos and others on my team to spend some time here where it would benefit your project, too. I suspect there will be some challenging pieces considering that wp.com is a private project on its own timeline, but any way we can make this collaborative is appreciated!\r\n\r\n@cadecairos do you have any suggestions for how we can move forward?"}}