{"action":"created","issue":{"url":"https://api.github.com/repos/commaai/commacoloring/issues/4","repository_url":"https://api.github.com/repos/commaai/commacoloring","labels_url":"https://api.github.com/repos/commaai/commacoloring/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/commaai/commacoloring/issues/4/comments","events_url":"https://api.github.com/repos/commaai/commacoloring/issues/4/events","html_url":"https://github.com/commaai/commacoloring/issues/4","id":196730969,"number":4,"title":"Problem using heroku","user":{"login":"amlarraz","id":17318832,"avatar_url":"https://avatars.githubusercontent.com/u/17318832?v=3","gravatar_id":"","url":"https://api.github.com/users/amlarraz","html_url":"https://github.com/amlarraz","followers_url":"https://api.github.com/users/amlarraz/followers","following_url":"https://api.github.com/users/amlarraz/following{/other_user}","gists_url":"https://api.github.com/users/amlarraz/gists{/gist_id}","starred_url":"https://api.github.com/users/amlarraz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amlarraz/subscriptions","organizations_url":"https://api.github.com/users/amlarraz/orgs","repos_url":"https://api.github.com/users/amlarraz/repos","events_url":"https://api.github.com/users/amlarraz/events{/privacy}","received_events_url":"https://api.github.com/users/amlarraz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-20T17:23:28Z","updated_at":"2016-12-20T17:40:26Z","closed_at":"2016-12-20T17:37:19Z","body":"Hi! Maybe is my fault but when i run \"heroku local\" give me the following error:\r\n\r\nraise KeyError(key)\r\n18:20:06 web.1   |  KeyError: 'DATABASE_URL'\r\n\r\nI know need database but, how can i create? and after that, how can i add the database_url to the vars of the app? Thanks in advance!"},"comment":{"url":"https://api.github.com/repos/commaai/commacoloring/issues/comments/268307716","html_url":"https://github.com/commaai/commacoloring/issues/4#issuecomment-268307716","issue_url":"https://api.github.com/repos/commaai/commacoloring/issues/4","id":268307716,"user":{"login":"amlarraz","id":17318832,"avatar_url":"https://avatars.githubusercontent.com/u/17318832?v=3","gravatar_id":"","url":"https://api.github.com/users/amlarraz","html_url":"https://github.com/amlarraz","followers_url":"https://api.github.com/users/amlarraz/followers","following_url":"https://api.github.com/users/amlarraz/following{/other_user}","gists_url":"https://api.github.com/users/amlarraz/gists{/gist_id}","starred_url":"https://api.github.com/users/amlarraz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amlarraz/subscriptions","organizations_url":"https://api.github.com/users/amlarraz/orgs","repos_url":"https://api.github.com/users/amlarraz/repos","events_url":"https://api.github.com/users/amlarraz/events{/privacy}","received_events_url":"https://api.github.com/users/amlarraz/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T17:40:26Z","updated_at":"2016-12-20T17:40:26Z","body":"If somebody have the same issue here is my solution:\r\n\r\nRunning the following command:\r\n\r\nexport DATABASE_URL=postgres:///$(whoami)\r\n\r\nthen the DATABASE_URL var point to the database with your username, and then create an user and database with my username in my own local postgress and voila!"}}
{"actor":{"display_login":"amlarraz"}}