{"action":"created","issue":{"url":"https://api.github.com/repos/liberapay/liberapay.com/issues/448","repository_url":"https://api.github.com/repos/liberapay/liberapay.com","labels_url":"https://api.github.com/repos/liberapay/liberapay.com/issues/448/labels{/name}","comments_url":"https://api.github.com/repos/liberapay/liberapay.com/issues/448/comments","events_url":"https://api.github.com/repos/liberapay/liberapay.com/issues/448/events","html_url":"https://github.com/liberapay/liberapay.com/issues/448","id":192656822,"number":448,"title":"Development environment using Docker and docker-compose","user":{"login":"EliotBerriot","id":1970915,"avatar_url":"https://avatars.githubusercontent.com/u/1970915?v=3","gravatar_id":"","url":"https://api.github.com/users/EliotBerriot","html_url":"https://github.com/EliotBerriot","followers_url":"https://api.github.com/users/EliotBerriot/followers","following_url":"https://api.github.com/users/EliotBerriot/following{/other_user}","gists_url":"https://api.github.com/users/EliotBerriot/gists{/gist_id}","starred_url":"https://api.github.com/users/EliotBerriot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EliotBerriot/subscriptions","organizations_url":"https://api.github.com/users/EliotBerriot/orgs","repos_url":"https://api.github.com/users/EliotBerriot/repos","events_url":"https://api.github.com/users/EliotBerriot/events{/privacy}","received_events_url":"https://api.github.com/users/EliotBerriot/received_events","type":"User","site_admin":false},"labels":[{"id":313429281,"url":"https://api.github.com/repos/liberapay/liberapay.com/labels/DevX","name":"DevX","color":"eeeeee","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-30T19:29:38Z","updated_at":"2016-11-30T20:07:14Z","closed_at":null,"body":"I fell like I want to hack on this project, however, considering the requried setup (postgresql, virtualenv, python dependencies, etc.), I think I'm gonna experiment a dev setup using Docker.\r\n\r\nIf you are not familiar with it, Docker and especially [docker-compose](https://docs.docker.com/compose/) are tools you can use to containerize an application, effectively isolating it from the host machine. Docker-compose takes care of running all services required for the project (i.e. a Postgres database, a cache server, a SASS compiler, etc.), with a single command.\r\n\r\nIt's especially useful during development (although you can deploy apps using Docker, too), because you can spin up a development environment in minutes, with a single command, and without polluting your host machine with databases, web servers and every service any project requires.\r\n\r\nAlso, containers hide the host machine details and make installation a lot simpler: some packages are named differently on different OS's, running everything in a container simply removes this entire area of problems.\r\n\r\nIf you are okay with it, I'd like to start my first contribution on this project by writing the few configuration files required to containerize liberapay using Docker for a smooth development setup. I'm okay to write some documentation too regarding this alternative setup, and to explain more in depth why I think it could be a useful improvement, especially to welcome newcomers.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/liberapay/liberapay.com/issues/comments/263980509","html_url":"https://github.com/liberapay/liberapay.com/issues/448#issuecomment-263980509","issue_url":"https://api.github.com/repos/liberapay/liberapay.com/issues/448","id":263980509,"user":{"login":"Changaco","id":1581590,"avatar_url":"https://avatars.githubusercontent.com/u/1581590?v=3","gravatar_id":"","url":"https://api.github.com/users/Changaco","html_url":"https://github.com/Changaco","followers_url":"https://api.github.com/users/Changaco/followers","following_url":"https://api.github.com/users/Changaco/following{/other_user}","gists_url":"https://api.github.com/users/Changaco/gists{/gist_id}","starred_url":"https://api.github.com/users/Changaco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Changaco/subscriptions","organizations_url":"https://api.github.com/users/Changaco/orgs","repos_url":"https://api.github.com/users/Changaco/repos","events_url":"https://api.github.com/users/Changaco/events{/privacy}","received_events_url":"https://api.github.com/users/Changaco/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T20:07:14Z","updated_at":"2016-11-30T20:07:14Z","body":"You may want to take a look at https://github.com/gratipay/gratipay.com/blob/2014/Dockerfile"}}
{"actor":{"display_login":"Changaco"}}