{"action":"created","issue":{"url":"https://api.github.com/repos/civio/quienmanda.es/issues/224","labels_url":"https://api.github.com/repos/civio/quienmanda.es/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/civio/quienmanda.es/issues/224/comments","events_url":"https://api.github.com/repos/civio/quienmanda.es/issues/224/events","html_url":"https://github.com/civio/quienmanda.es/pull/224","id":63289207,"number":224,"title":"Docker dev environment for the app","user":{"login":"papajulio","id":492577,"avatar_url":"https://avatars.githubusercontent.com/u/492577?v=3","gravatar_id":"","url":"https://api.github.com/users/papajulio","html_url":"https://github.com/papajulio","followers_url":"https://api.github.com/users/papajulio/followers","following_url":"https://api.github.com/users/papajulio/following{/other_user}","gists_url":"https://api.github.com/users/papajulio/gists{/gist_id}","starred_url":"https://api.github.com/users/papajulio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/papajulio/subscriptions","organizations_url":"https://api.github.com/users/papajulio/orgs","repos_url":"https://api.github.com/users/papajulio/repos","events_url":"https://api.github.com/users/papajulio/events{/privacy}","received_events_url":"https://api.github.com/users/papajulio/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-03-20T19:35:45Z","updated_at":"2015-04-10T15:05:36Z","closed_at":"2015-03-31T05:19:38Z","pull_request":{"url":"https://api.github.com/repos/civio/quienmanda.es/pulls/224","html_url":"https://github.com/civio/quienmanda.es/pull/224","diff_url":"https://github.com/civio/quienmanda.es/pull/224.diff","patch_url":"https://github.com/civio/quienmanda.es/pull/224.patch"},"body":"Dev environment for docker, it allow you to launch the app without installing nothing (except docker) and with only one command. \r\n\r\nUsing the script launch-docker-env.sh it launches two containers. On for the postgre database and another for the Rails app. The app it's accessible in http://localhost:3000/ and can be worked directly in the code in the host machine as I had mounted with a volume.\r\n\r\nThe reason behind this is that I wanted to start collaborating so I needed and environment and I didn't want to install another database and Ruby and Rails in my computer directly. Hopefully this will help others too as allows you to bootstrap the app very easily.\r\n\r\nLet me know if you need some improvements or modifications.\r\n\r\nHow to use docker in Mac: https://docs.docker.com/installation/mac/\r\nHow to use docker in Windows: https://docs.docker.com/installation/windows/\r\n"},"comment":{"url":"https://api.github.com/repos/civio/quienmanda.es/issues/comments/91586126","html_url":"https://github.com/civio/quienmanda.es/pull/224#issuecomment-91586126","issue_url":"https://api.github.com/repos/civio/quienmanda.es/issues/224","id":91586126,"user":{"login":"jrub","id":472092,"avatar_url":"https://avatars.githubusercontent.com/u/472092?v=3","gravatar_id":"","url":"https://api.github.com/users/jrub","html_url":"https://github.com/jrub","followers_url":"https://api.github.com/users/jrub/followers","following_url":"https://api.github.com/users/jrub/following{/other_user}","gists_url":"https://api.github.com/users/jrub/gists{/gist_id}","starred_url":"https://api.github.com/users/jrub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrub/subscriptions","organizations_url":"https://api.github.com/users/jrub/orgs","repos_url":"https://api.github.com/users/jrub/repos","events_url":"https://api.github.com/users/jrub/events{/privacy}","received_events_url":"https://api.github.com/users/jrub/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T15:05:36Z","updated_at":"2015-04-10T15:05:36Z","body":":clap: :clap: :clap: "}}