{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/olympia/pulls/comments/39623229","id":39623229,"diff_hunk":"@@ -9,55 +9,100 @@ If you want to build a completely different site with all the same Django\n optimizations for security, scalability, L10n, and ease of use, check out\n Mozilla's `Playdoh starter kit <http://playdoh.readthedocs.org/>`_.\n \n-\n .. _install-with-docker:\n \n Quickstart\n ----------\n+Want the easiest way to start contributing to AMO? Try our docker-based\n+development environment.\n+\n+First you'll need to install docker_, please check the information for\n+the installation steps specific to your operating system.\n+\n+.. note::\n+  Docker recommends installing docker-toolbox_ if you're on OSX or\n+  windows and that will provide you with the ``docker-machine`` and\n+  ``docker-compose`` (mac-only).\n+\n+Creating the docker vm (mac/windows)\n+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+If you go the docker-machine route your first step is to create a vm::\n+\n+  docker-machine create --driver=virtualbox addons-dev\n+\n+Then you can export the variables so that docker-compose  can talk to\n+the docker service on the vm by running::\n+\n+This command will tell you what you need to do that::\n+\n+  docker-machine env addons-dev\n+\n+On mac it's a case of running::\n+\n+  eval $(docker-machine env addons-dev)\n+\n+Setting up the containers\n+~~~~~~~~~~~~~~~~~~~~~~~~~\n \n-Want the easiest way to start contributing to AMO? Try our docker install in a\n-few easy steps::\n+Next once you have docker up and running follow these steps\n+on your host machine::\n \n     git clone git://github.com/mozilla/olympia.git\n     cd olympia\n-    pip install docker-compose\n-    docker-compose build  # Can be very long depending on your internet bandwidth.\n-    docker-compose run web make initialize_docker  # Answer yes, and create your superuser when asked.\n-    docker-compose up\n+    pip install docker-compose docker-utils\n+    docker-compose pull  # Can take a while depending on your internet bandwidth.\n+    docker-compose up -d\n+    docker-utils bash web # Opens a shell on the running web container.\n+\n+    # On the shell opened by docker-utils:\n+    make initialize_docker  # Answer yes, and create your superuser when asked.\n     # Once it's all loaded, go to http://localhost:8000 and enjoy!\n \n-On the last step, if you're using boot2docker, you-ll need to first find its\n-ip, and connect to that instead::\n \n-    boot2docker ip\n+On the last step, if you're using docker-machine, you-ll\n+need to first find its ip, and connect to that instead::\n \n-This needs a working installation of docker_, please check the information for\n-your operating system.\n+    docker-machine ip [name]","path":"docs/index.rst","position":70,"original_position":70,"commit_id":"2a6a1afe5f855d149c976fd0e4a77dd44b41b363","original_commit_id":"2a6a1afe5f855d149c976fd0e4a77dd44b41b363","user":{"login":"wagnerand","id":873258,"avatar_url":"https://avatars.githubusercontent.com/u/873258?v=3","gravatar_id":"","url":"https://api.github.com/users/wagnerand","html_url":"https://github.com/wagnerand","followers_url":"https://api.github.com/users/wagnerand/followers","following_url":"https://api.github.com/users/wagnerand/following{/other_user}","gists_url":"https://api.github.com/users/wagnerand/gists{/gist_id}","starred_url":"https://api.github.com/users/wagnerand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wagnerand/subscriptions","organizations_url":"https://api.github.com/users/wagnerand/orgs","repos_url":"https://api.github.com/users/wagnerand/repos","events_url":"https://api.github.com/users/wagnerand/events{/privacy}","received_events_url":"https://api.github.com/users/wagnerand/received_events","type":"User","site_admin":false},"body":"`addons` probably.","created_at":"2015-09-16T12:32:00Z","updated_at":"2015-09-16T12:32:00Z","html_url":"https://github.com/mozilla/olympia/pull/751#discussion_r39623229","pull_request_url":"https://api.github.com/repos/mozilla/olympia/pulls/751","_links":{"self":{"href":"https://api.github.com/repos/mozilla/olympia/pulls/comments/39623229"},"html":{"href":"https://github.com/mozilla/olympia/pull/751#discussion_r39623229"},"pull_request":{"href":"https://api.github.com/repos/mozilla/olympia/pulls/751"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/olympia/pulls/751","id":45159911,"html_url":"https://github.com/mozilla/olympia/pull/751","diff_url":"https://github.com/mozilla/olympia/pull/751.diff","patch_url":"https://github.com/mozilla/olympia/pull/751.patch","issue_url":"https://api.github.com/repos/mozilla/olympia/issues/751","number":751,"state":"open","locked":false,"title":"Run from the hub build","user":{"login":"muffinresearch","id":1514,"avatar_url":"https://avatars.githubusercontent.com/u/1514?v=3","gravatar_id":"","url":"https://api.github.com/users/muffinresearch","html_url":"https://github.com/muffinresearch","followers_url":"https://api.github.com/users/muffinresearch/followers","following_url":"https://api.github.com/users/muffinresearch/following{/other_user}","gists_url":"https://api.github.com/users/muffinresearch/gists{/gist_id}","starred_url":"https://api.github.com/users/muffinresearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muffinresearch/subscriptions","organizations_url":"https://api.github.com/users/muffinresearch/orgs","repos_url":"https://api.github.com/users/muffinresearch/repos","events_url":"https://api.github.com/users/muffinresearch/events{/privacy}","received_events_url":"https://api.github.com/users/muffinresearch/received_events","type":"User","site_admin":false},"body":"This is a start to moving onto a docker-hub based env.\r\n\r\nWe can do more things down the road e.g. the npm bits could move into the Dockerfile.","created_at":"2015-09-16T11:29:56Z","updated_at":"2015-09-16T12:32:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e3b42a426e613694e624fcf1bc3f444b7eda9a5f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/olympia/pulls/751/commits","review_comments_url":"https://api.github.com/repos/mozilla/olympia/pulls/751/comments","review_comment_url":"https://api.github.com/repos/mozilla/olympia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/olympia/issues/751/comments","statuses_url":"https://api.github.com/repos/mozilla/olympia/statuses/2a6a1afe5f855d149c976fd0e4a77dd44b41b363","head":{"label":"muffinresearch:hub-builds","ref":"hub-builds","sha":"2a6a1afe5f855d149c976fd0e4a77dd44b41b363","user":{"login":"muffinresearch","id":1514,"avatar_url":"https://avatars.githubusercontent.com/u/1514?v=3","gravatar_id":"","url":"https://api.github.com/users/muffinresearch","html_url":"https://github.com/muffinresearch","followers_url":"https://api.github.com/users/muffinresearch/followers","following_url":"https://api.github.com/users/muffinresearch/following{/other_user}","gists_url":"https://api.github.com/users/muffinresearch/gists{/gist_id}","starred_url":"https://api.github.com/users/muffinresearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muffinresearch/subscriptions","organizations_url":"https://api.github.com/users/muffinresearch/orgs","repos_url":"https://api.github.com/users/muffinresearch/repos","events_url":"https://api.github.com/users/muffinresearch/events{/privacy}","received_events_url":"https://api.github.com/users/muffinresearch/received_events","type":"User","site_admin":false},"repo":{"id":42522849,"name":"olympia","full_name":"muffinresearch/olympia","owner":{"login":"muffinresearch","id":1514,"avatar_url":"https://avatars.githubusercontent.com/u/1514?v=3","gravatar_id":"","url":"https://api.github.com/users/muffinresearch","html_url":"https://github.com/muffinresearch","followers_url":"https://api.github.com/users/muffinresearch/followers","following_url":"https://api.github.com/users/muffinresearch/following{/other_user}","gists_url":"https://api.github.com/users/muffinresearch/gists{/gist_id}","starred_url":"https://api.github.com/users/muffinresearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muffinresearch/subscriptions","organizations_url":"https://api.github.com/users/muffinresearch/orgs","repos_url":"https://api.github.com/users/muffinresearch/repos","events_url":"https://api.github.com/users/muffinresearch/events{/privacy}","received_events_url":"https://api.github.com/users/muffinresearch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/muffinresearch/olympia","description":"addons.mozilla.org, reloaded.","fork":true,"url":"https://api.github.com/repos/muffinresearch/olympia","forks_url":"https://api.github.com/repos/muffinresearch/olympia/forks","keys_url":"https://api.github.com/repos/muffinresearch/olympia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/muffinresearch/olympia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/muffinresearch/olympia/teams","hooks_url":"https://api.github.com/repos/muffinresearch/olympia/hooks","issue_events_url":"https://api.github.com/repos/muffinresearch/olympia/issues/events{/number}","events_url":"https://api.github.com/repos/muffinresearch/olympia/events","assignees_url":"https://api.github.com/repos/muffinresearch/olympia/assignees{/user}","branches_url":"https://api.github.com/repos/muffinresearch/olympia/branches{/branch}","tags_url":"https://api.github.com/repos/muffinresearch/olympia/tags","blobs_url":"https://api.github.com/repos/muffinresearch/olympia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/muffinresearch/olympia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/muffinresearch/olympia/git/refs{/sha}","trees_url":"https://api.github.com/repos/muffinresearch/olympia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/muffinresearch/olympia/statuses/{sha}","languages_url":"https://api.github.com/repos/muffinresearch/olympia/languages","stargazers_url":"https://api.github.com/repos/muffinresearch/olympia/stargazers","contributors_url":"https://api.github.com/repos/muffinresearch/olympia/contributors","subscribers_url":"https://api.github.com/repos/muffinresearch/olympia/subscribers","subscription_url":"https://api.github.com/repos/muffinresearch/olympia/subscription","commits_url":"https://api.github.com/repos/muffinresearch/olympia/commits{/sha}","git_commits_url":"https://api.github.com/repos/muffinresearch/olympia/git/commits{/sha}","comments_url":"https://api.github.com/repos/muffinresearch/olympia/comments{/number}","issue_comment_url":"https://api.github.com/repos/muffinresearch/olympia/issues/comments{/number}","contents_url":"https://api.github.com/repos/muffinresearch/olympia/contents/{+path}","compare_url":"https://api.github.com/repos/muffinresearch/olympia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/muffinresearch/olympia/merges","archive_url":"https://api.github.com/repos/muffinresearch/olympia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/muffinresearch/olympia/downloads","issues_url":"https://api.github.com/repos/muffinresearch/olympia/issues{/number}","pulls_url":"https://api.github.com/repos/muffinresearch/olympia/pulls{/number}","milestones_url":"https://api.github.com/repos/muffinresearch/olympia/milestones{/number}","notifications_url":"https://api.github.com/repos/muffinresearch/olympia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/muffinresearch/olympia/labels{/name}","releases_url":"https://api.github.com/repos/muffinresearch/olympia/releases{/id}","created_at":"2015-09-15T13:59:59Z","updated_at":"2015-09-15T14:00:05Z","pushed_at":"2015-09-16T11:28:09Z","git_url":"git://github.com/muffinresearch/olympia.git","ssh_url":"git@github.com:muffinresearch/olympia.git","clone_url":"https://github.com/muffinresearch/olympia.git","svn_url":"https://github.com/muffinresearch/olympia","homepage":"https://addons.mozilla.org/","size":465881,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"a19ab31bdbbd926dbb6ef11397cfcd4a803f75d7","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":16416867,"name":"olympia","full_name":"mozilla/olympia","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/olympia","description":"addons.mozilla.org, reloaded.","fork":false,"url":"https://api.github.com/repos/mozilla/olympia","forks_url":"https://api.github.com/repos/mozilla/olympia/forks","keys_url":"https://api.github.com/repos/mozilla/olympia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/olympia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/olympia/teams","hooks_url":"https://api.github.com/repos/mozilla/olympia/hooks","issue_events_url":"https://api.github.com/repos/mozilla/olympia/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/olympia/events","assignees_url":"https://api.github.com/repos/mozilla/olympia/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/olympia/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/olympia/tags","blobs_url":"https://api.github.com/repos/mozilla/olympia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/olympia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/olympia/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/olympia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/olympia/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/olympia/languages","stargazers_url":"https://api.github.com/repos/mozilla/olympia/stargazers","contributors_url":"https://api.github.com/repos/mozilla/olympia/contributors","subscribers_url":"https://api.github.com/repos/mozilla/olympia/subscribers","subscription_url":"https://api.github.com/repos/mozilla/olympia/subscription","commits_url":"https://api.github.com/repos/mozilla/olympia/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/olympia/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/olympia/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/olympia/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/olympia/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/olympia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/olympia/merges","archive_url":"https://api.github.com/repos/mozilla/olympia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/olympia/downloads","issues_url":"https://api.github.com/repos/mozilla/olympia/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/olympia/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/olympia/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/olympia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/olympia/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/olympia/releases{/id}","created_at":"2014-01-31T18:44:15Z","updated_at":"2015-09-13T21:57:44Z","pushed_at":"2015-09-16T11:33:54Z","git_url":"git://github.com/mozilla/olympia.git","ssh_url":"git@github.com:mozilla/olympia.git","clone_url":"https://github.com/mozilla/olympia.git","svn_url":"https://github.com/mozilla/olympia","homepage":"https://addons.mozilla.org/","size":465881,"stargazers_count":53,"watchers_count":53,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":106,"mirror_url":null,"open_issues_count":19,"forks":106,"open_issues":19,"watchers":53,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/olympia/pulls/751"},"html":{"href":"https://github.com/mozilla/olympia/pull/751"},"issue":{"href":"https://api.github.com/repos/mozilla/olympia/issues/751"},"comments":{"href":"https://api.github.com/repos/mozilla/olympia/issues/751/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/olympia/pulls/751/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/olympia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/olympia/pulls/751/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/olympia/statuses/2a6a1afe5f855d149c976fd0e4a77dd44b41b363"}}}}