{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/kitsune/pulls/comments/232277424","pull_request_review_id":173441619,"id":232277424,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjI3NzQyNA==","diff_hunk":"@@ -11,69 +11,54 @@ See [what's deployed](https://whatsdeployed.io/s-J18)\n \n ## Development\n \n-To setup a local Kitsune development environment:\n+To get Kitsune running locally all you really need is to have [Docker installed](https://www.docker.com/products/docker-desktop),\n+and follow the following steps.\n \n 1. Fork this repository & clone it to your local machine.\n-\n-1. Download base Kitsune docker images:\n    ```\n-   docker pull mozmeao/kitsune:base-latest\n-   docker pull mozmeao/kitsune:base-dev-latest\n+   git clone https://github.com/mozilla/kitsune.git\n    ```\n \n-1. Build Kitsune docker images. (Only needed on initial build or when packages change)\n+2. Pull base Kitsune Docker images, create your database, and install node and bower packages.\n    ```\n-   docker-compose -f docker-compose.yml -f docker/composefiles/build.yml build base\n-   docker-compose -f docker-compose.yml -f docker/composefiles/build.yml build dev\n+   make init\n    ```\n \n-1. Copy .env-dist to .env\n+3. Run Kitsune.\n    ```\n-   cp .env-dist .env\n+   make run\n    ```\n \n-1. Create your database\n-   ```\n-   docker-compose -f docker-compose.yml -f docker/composefiles/dev.yml run web ./manage.py migrate\n-   ```\n-\n-1. Install node and bower packages\n-   ```\n-   docker-compose -f docker-compose.yml -f docker/composefiles/dev.yml run web yarn\n-   docker-compose -f docker-compose.yml -f docker/composefiles/dev.yml run web ./node_modules/.bin/bower install --allow-root\n-   ```\n-\n-1. (Optional) Enable the admin control panel\n-   ```\n-   echo \"ENABLE_ADMIN=True\" >> .env\n-   ```\n+The running instance will be located at http://0.0.0.0:8000/ unless you specified otherwise, and the administrative control panel will be at http://0.0.0.0:8000/admin.\n \n-1. Run Kitsune\n-   ```\n-   docker-compose -f docker-compose.yml -f docker/composefiles/dev.yml up web\n-   ```\n+After that you can do some additional optional steps if you want to for the admin:\n \n-   The running instance will be located at http://0.0.0.0:8000/ unless you specified otherwise, and the administrative control panel will be at http://0.0.0.0:8000/admin.\n+* Enable the admin control panel\n+  ```\n+  echo \"ENABLE_ADMIN=True\" >> .env\n+  ```\n \n-1. (Optional) Create a superuser\n-   ```\n-   docker-compose -f docker-compose.yml -f docker/composefiles/dev.yml exec web ./manage.py createsuperuser\n-   ```\n+* Create a superuser\n+  ```\n+  docker-compose exec web ./manage.py createsuperuser\n+  ```\n \n-1. (Optional) Create some data\n-   ```\n-   docker-compose -f docker-compose.yml -f docker/composefiles/dev.yml exec web ./manage.py generatedata\n-   ```\n+* Create some data\n+  ```\n+  docker-compose exec web ./manage.py generatedata\n+  ```\n \n-1. (Optional) Update product details\n-   ```\n-   docker-compose -f docker-compose.yml -f docker/composefiles/dev.yml exec web ./manage.py update_product_details\n-   ```\n+* Update product details\n+  ```\n+  docker-compose exec web ./manage.py update_product_details\n+  ```\n \n-1. (Optional) Get search working\n+* Get search working","path":"README.md","position":89,"original_position":89,"commit_id":"00c3b7cc522b365c2a2808c0b8c01abe44f19b9e","original_commit_id":"00c3b7cc522b365c2a2808c0b8c01abe44f19b9e","user":{"login":"metadave","id":58244,"node_id":"MDQ6VXNlcjU4MjQ0","avatar_url":"https://avatars3.githubusercontent.com/u/58244?v=4","gravatar_id":"","url":"https://api.github.com/users/metadave","html_url":"https://github.com/metadave","followers_url":"https://api.github.com/users/metadave/followers","following_url":"https://api.github.com/users/metadave/following{/other_user}","gists_url":"https://api.github.com/users/metadave/gists{/gist_id}","starred_url":"https://api.github.com/users/metadave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metadave/subscriptions","organizations_url":"https://api.github.com/users/metadave/orgs","repos_url":"https://api.github.com/users/metadave/repos","events_url":"https://api.github.com/users/metadave/events{/privacy}","received_events_url":"https://api.github.com/users/metadave/received_events","type":"User","site_admin":false},"body":"I couldn't get search to work following these docs. I enter a search term into the dialog, hit enter/magnifying glass and then... nothing.","created_at":"2018-11-09T14:49:41Z","updated_at":"2018-11-09T14:50:32Z","html_url":"https://github.com/mozilla/kitsune/pull/3416#discussion_r232277424","pull_request_url":"https://api.github.com/repos/mozilla/kitsune/pulls/3416","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/mozilla/kitsune/pulls/comments/232277424"},"html":{"href":"https://github.com/mozilla/kitsune/pull/3416#discussion_r232277424"},"pull_request":{"href":"https://api.github.com/repos/mozilla/kitsune/pulls/3416"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/kitsune/pulls/3416","id":229234335,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5MjM0MzM1","html_url":"https://github.com/mozilla/kitsune/pull/3416","diff_url":"https://github.com/mozilla/kitsune/pull/3416.diff","patch_url":"https://github.com/mozilla/kitsune/pull/3416.patch","issue_url":"https://api.github.com/repos/mozilla/kitsune/issues/3416","number":3416,"state":"open","locked":false,"title":"Move to a single Dockerfile and docker-compose file","user":{"login":"pmac","id":19176817,"node_id":"MDQ6VXNlcjE5MTc2ODE3","avatar_url":"https://avatars0.githubusercontent.com/u/19176817?v=4","gravatar_id":"","url":"https://api.github.com/users/pmac","html_url":"https://github.com/pmac","followers_url":"https://api.github.com/users/pmac/followers","following_url":"https://api.github.com/users/pmac/following{/other_user}","gists_url":"https://api.github.com/users/pmac/gists{/gist_id}","starred_url":"https://api.github.com/users/pmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmac/subscriptions","organizations_url":"https://api.github.com/users/pmac/orgs","repos_url":"https://api.github.com/users/pmac/repos","events_url":"https://api.github.com/users/pmac/events{/privacy}","received_events_url":"https://api.github.com/users/pmac/received_events","type":"User","site_admin":false},"body":"Use make to create easy to use and remember commands for building and running things.","created_at":"2018-11-08T02:53:00Z","updated_at":"2018-11-09T14:50:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b58a3f83e1532e9162111dcbc8e64684a11deb9f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/kitsune/pulls/3416/commits","review_comments_url":"https://api.github.com/repos/mozilla/kitsune/pulls/3416/comments","review_comment_url":"https://api.github.com/repos/mozilla/kitsune/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/kitsune/issues/3416/comments","statuses_url":"https://api.github.com/repos/mozilla/kitsune/statuses/00c3b7cc522b365c2a2808c0b8c01abe44f19b9e","head":{"label":"mozilla:improve-docker-dev","ref":"improve-docker-dev","sha":"00c3b7cc522b365c2a2808c0b8c01abe44f19b9e","user":{"login":"mozilla","id":131524,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMTUyNA==","avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","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":489645,"node_id":"MDEwOlJlcG9zaXRvcnk0ODk2NDU=","name":"kitsune","full_name":"mozilla/kitsune","private":false,"owner":{"login":"mozilla","id":131524,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMTUyNA==","avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","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},"html_url":"https://github.com/mozilla/kitsune","description":"Platform for Mozilla Support","fork":false,"url":"https://api.github.com/repos/mozilla/kitsune","forks_url":"https://api.github.com/repos/mozilla/kitsune/forks","keys_url":"https://api.github.com/repos/mozilla/kitsune/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/kitsune/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/kitsune/teams","hooks_url":"https://api.github.com/repos/mozilla/kitsune/hooks","issue_events_url":"https://api.github.com/repos/mozilla/kitsune/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/kitsune/events","assignees_url":"https://api.github.com/repos/mozilla/kitsune/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/kitsune/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/kitsune/tags","blobs_url":"https://api.github.com/repos/mozilla/kitsune/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/kitsune/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/kitsune/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/kitsune/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/kitsune/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/kitsune/languages","stargazers_url":"https://api.github.com/repos/mozilla/kitsune/stargazers","contributors_url":"https://api.github.com/repos/mozilla/kitsune/contributors","subscribers_url":"https://api.github.com/repos/mozilla/kitsune/subscribers","subscription_url":"https://api.github.com/repos/mozilla/kitsune/subscription","commits_url":"https://api.github.com/repos/mozilla/kitsune/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/kitsune/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/kitsune/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/kitsune/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/kitsune/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/kitsune/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/kitsune/merges","archive_url":"https://api.github.com/repos/mozilla/kitsune/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/kitsune/downloads","issues_url":"https://api.github.com/repos/mozilla/kitsune/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/kitsune/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/kitsune/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/kitsune/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/kitsune/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/kitsune/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/kitsune/deployments","created_at":"2010-01-26T18:53:57Z","updated_at":"2018-11-08T18:20:33Z","pushed_at":"2018-11-09T05:19:01Z","git_url":"git://github.com/mozilla/kitsune.git","ssh_url":"git@github.com:mozilla/kitsune.git","clone_url":"https://github.com/mozilla/kitsune.git","svn_url":"https://github.com/mozilla/kitsune","homepage":"https://support.mozilla.com/","size":119930,"stargazers_count":455,"watchers_count":455,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":431,"mirror_url":null,"archived":false,"open_issues_count":96,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":431,"open_issues":96,"watchers":455,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"605ea772e9159a3576c5a25d5d7ef0c042ba4e42","user":{"login":"mozilla","id":131524,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMTUyNA==","avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","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":489645,"node_id":"MDEwOlJlcG9zaXRvcnk0ODk2NDU=","name":"kitsune","full_name":"mozilla/kitsune","private":false,"owner":{"login":"mozilla","id":131524,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMTUyNA==","avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","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},"html_url":"https://github.com/mozilla/kitsune","description":"Platform for Mozilla Support","fork":false,"url":"https://api.github.com/repos/mozilla/kitsune","forks_url":"https://api.github.com/repos/mozilla/kitsune/forks","keys_url":"https://api.github.com/repos/mozilla/kitsune/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/kitsune/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/kitsune/teams","hooks_url":"https://api.github.com/repos/mozilla/kitsune/hooks","issue_events_url":"https://api.github.com/repos/mozilla/kitsune/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/kitsune/events","assignees_url":"https://api.github.com/repos/mozilla/kitsune/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/kitsune/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/kitsune/tags","blobs_url":"https://api.github.com/repos/mozilla/kitsune/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/kitsune/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/kitsune/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/kitsune/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/kitsune/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/kitsune/languages","stargazers_url":"https://api.github.com/repos/mozilla/kitsune/stargazers","contributors_url":"https://api.github.com/repos/mozilla/kitsune/contributors","subscribers_url":"https://api.github.com/repos/mozilla/kitsune/subscribers","subscription_url":"https://api.github.com/repos/mozilla/kitsune/subscription","commits_url":"https://api.github.com/repos/mozilla/kitsune/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/kitsune/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/kitsune/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/kitsune/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/kitsune/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/kitsune/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/kitsune/merges","archive_url":"https://api.github.com/repos/mozilla/kitsune/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/kitsune/downloads","issues_url":"https://api.github.com/repos/mozilla/kitsune/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/kitsune/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/kitsune/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/kitsune/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/kitsune/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/kitsune/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/kitsune/deployments","created_at":"2010-01-26T18:53:57Z","updated_at":"2018-11-08T18:20:33Z","pushed_at":"2018-11-09T05:19:01Z","git_url":"git://github.com/mozilla/kitsune.git","ssh_url":"git@github.com:mozilla/kitsune.git","clone_url":"https://github.com/mozilla/kitsune.git","svn_url":"https://github.com/mozilla/kitsune","homepage":"https://support.mozilla.com/","size":119930,"stargazers_count":455,"watchers_count":455,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":431,"mirror_url":null,"archived":false,"open_issues_count":96,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":431,"open_issues":96,"watchers":455,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/kitsune/pulls/3416"},"html":{"href":"https://github.com/mozilla/kitsune/pull/3416"},"issue":{"href":"https://api.github.com/repos/mozilla/kitsune/issues/3416"},"comments":{"href":"https://api.github.com/repos/mozilla/kitsune/issues/3416/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/kitsune/pulls/3416/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/kitsune/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/kitsune/pulls/3416/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/kitsune/statuses/00c3b7cc522b365c2a2808c0b8c01abe44f19b9e"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"metadave"}}