{"action":"created","issue":{"url":"https://api.github.com/repos/Sinar/popit_ng/issues/97","repository_url":"https://api.github.com/repos/Sinar/popit_ng","labels_url":"https://api.github.com/repos/Sinar/popit_ng/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/Sinar/popit_ng/issues/97/comments","events_url":"https://api.github.com/repos/Sinar/popit_ng/issues/97/events","html_url":"https://github.com/Sinar/popit_ng/issues/97","id":129995436,"number":97,"title":"When logging in via \"vagrant ssh\"; user should be in /vagrant","user":{"login":"leowmjw","id":920784,"avatar_url":"https://avatars.githubusercontent.com/u/920784?v=3","gravatar_id":"","url":"https://api.github.com/users/leowmjw","html_url":"https://github.com/leowmjw","followers_url":"https://api.github.com/users/leowmjw/followers","following_url":"https://api.github.com/users/leowmjw/following{/other_user}","gists_url":"https://api.github.com/users/leowmjw/gists{/gist_id}","starred_url":"https://api.github.com/users/leowmjw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leowmjw/subscriptions","organizations_url":"https://api.github.com/users/leowmjw/orgs","repos_url":"https://api.github.com/users/leowmjw/repos","events_url":"https://api.github.com/users/leowmjw/events{/privacy}","received_events_url":"https://api.github.com/users/leowmjw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-30T15:01:08Z","updated_at":"2016-02-04T01:53:06Z","closed_at":null,"body":"Make it so that when login via \"vagrant ssh\" that the user is automatically in the folder containing the code so that the documentation to setup system reads correctly to a Django newbie (me!):\r\n\r\n```\r\nleow$ git diff bootstrap.sh \r\ndiff --git a/bootstrap.sh b/bootstrap.sh\r\nindex dfe4c0c..c5d03ea 100644\r\n--- a/bootstrap.sh\r\n+++ b/bootstrap.sh\r\n@@ -12,3 +12,5 @@ apt-get install -y openjdk-7-jre unzip\r\n wget https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distri\r\n unzip elasticsearch-2.1.0.zip\r\n \r\n+# Ensure when login via shell it goes to the code\r\n+echo -e \"\\ncd /vagrant\" >>~/.bashrc\r\n```"},"comment":{"url":"https://api.github.com/repos/Sinar/popit_ng/issues/comments/179570635","html_url":"https://github.com/Sinar/popit_ng/issues/97#issuecomment-179570635","issue_url":"https://api.github.com/repos/Sinar/popit_ng/issues/97","id":179570635,"user":{"login":"sweemeng","id":80779,"avatar_url":"https://avatars.githubusercontent.com/u/80779?v=3","gravatar_id":"","url":"https://api.github.com/users/sweemeng","html_url":"https://github.com/sweemeng","followers_url":"https://api.github.com/users/sweemeng/followers","following_url":"https://api.github.com/users/sweemeng/following{/other_user}","gists_url":"https://api.github.com/users/sweemeng/gists{/gist_id}","starred_url":"https://api.github.com/users/sweemeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sweemeng/subscriptions","organizations_url":"https://api.github.com/users/sweemeng/orgs","repos_url":"https://api.github.com/users/sweemeng/repos","events_url":"https://api.github.com/users/sweemeng/events{/privacy}","received_events_url":"https://api.github.com/users/sweemeng/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T01:53:06Z","updated_at":"2016-02-04T01:53:06Z","body":"Tested after rebuilding image on vagrant, ssh do not automatically change directory to /vagrant"}}