{"action":"created","issue":{"url":"https://api.github.com/repos/GuanyemBarcelona/participa/issues/31","repository_url":"https://api.github.com/repos/GuanyemBarcelona/participa","labels_url":"https://api.github.com/repos/GuanyemBarcelona/participa/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/GuanyemBarcelona/participa/issues/31/comments","events_url":"https://api.github.com/repos/GuanyemBarcelona/participa/issues/31/events","html_url":"https://github.com/GuanyemBarcelona/participa/pull/31","id":191338266,"number":31,"title":"WIP: Issues with redis and capybara configs","user":{"login":"zuzust","id":351530,"avatar_url":"https://avatars.githubusercontent.com/u/351530?v=3","gravatar_id":"","url":"https://api.github.com/users/zuzust","html_url":"https://github.com/zuzust","followers_url":"https://api.github.com/users/zuzust/followers","following_url":"https://api.github.com/users/zuzust/following{/other_user}","gists_url":"https://api.github.com/users/zuzust/gists{/gist_id}","starred_url":"https://api.github.com/users/zuzust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zuzust/subscriptions","organizations_url":"https://api.github.com/users/zuzust/orgs","repos_url":"https://api.github.com/users/zuzust/repos","events_url":"https://api.github.com/users/zuzust/events{/privacy}","received_events_url":"https://api.github.com/users/zuzust/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-11-23T17:38:44Z","updated_at":"2016-12-01T21:00:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GuanyemBarcelona/participa/pulls/31","html_url":"https://github.com/GuanyemBarcelona/participa/pull/31","diff_url":"https://github.com/GuanyemBarcelona/participa/pull/31.diff","patch_url":"https://github.com/GuanyemBarcelona/participa/pull/31.patch"},"body":"@andreslucena, something is wrong with Redis and Capybara configuration. Need to be checked out to make it work with Docker Compose.\r\n\r\nFor the sake of simplicity, here you are the docker commands needed to run development and test environments:\r\n\r\n**Development**\r\n```bash\r\n$ docker-compose build\r\n$ docker-compose run participa rake db:setup\r\n$ docker-compose up -d\r\n$ docker-compose exec participa mailcatcher --ip=0.0.0.0\r\n$ docker-compose run -e \"QUEUE=*\" participa rake environment resque:work (???)\r\n```\r\n\r\n**Test**\r\n```bash\r\n$ docker-compose up -d\r\n$ docker-compose run -e \"RAILS_ENV=test\" participa rake db:create db:migrate\r\n$ docker-compose run -e \"RAILS_ENV=test\" --entrypoint=\"xvfb-run\" participa bundle exec rake test\r\n```\r\n\r\nAnd here you are the key fragments of:\r\n\r\n**database.yml**\r\n```yaml\r\ndefault: &default\r\n  adapter: postgresql\r\n  encoding: unicode\r\n  pool: 5\r\n  timeout: 5000\r\n  username: postgres\r\n  host: postgres\r\n```\r\n\r\n**secrets.yml**\r\n```yaml\r\n  features:\r\n    allow_inscription: true\r\n    blog: false\r\n    collaborations: true\r\n    collaborations_redsys: false\r\n    elections: true\r\n    microcredits: false\r\n    notifications: false\r\n    openid: true\r\n    participation_teams: false\r\n    proposals: false\r\n    use_resque: false\r\n    verification_presencial: true\r\n    verification_sms: false\r\n```"},"comment":{"url":"https://api.github.com/repos/GuanyemBarcelona/participa/issues/comments/264293350","html_url":"https://github.com/GuanyemBarcelona/participa/pull/31#issuecomment-264293350","issue_url":"https://api.github.com/repos/GuanyemBarcelona/participa/issues/31","id":264293350,"user":{"login":"zuzust","id":351530,"avatar_url":"https://avatars.githubusercontent.com/u/351530?v=3","gravatar_id":"","url":"https://api.github.com/users/zuzust","html_url":"https://github.com/zuzust","followers_url":"https://api.github.com/users/zuzust/followers","following_url":"https://api.github.com/users/zuzust/following{/other_user}","gists_url":"https://api.github.com/users/zuzust/gists{/gist_id}","starred_url":"https://api.github.com/users/zuzust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zuzust/subscriptions","organizations_url":"https://api.github.com/users/zuzust/orgs","repos_url":"https://api.github.com/users/zuzust/repos","events_url":"https://api.github.com/users/zuzust/events{/privacy}","received_events_url":"https://api.github.com/users/zuzust/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T21:00:18Z","updated_at":"2016-12-01T21:00:18Z","body":"I cannot reproduce the problem as I have no `vendor/bundle` nor `.bundle/config` locally. Just a quick test: what happens if you add `.bundle` to .dockerignore?"}}
{"actor":{"display_login":"zuzust"}}