{"action":"opened","issue":{"url":"https://api.github.com/repos/mondediefr/mondedie-chat/issues/13","labels_url":"https://api.github.com/repos/mondediefr/mondedie-chat/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/mondediefr/mondedie-chat/issues/13/comments","events_url":"https://api.github.com/repos/mondediefr/mondedie-chat/issues/13/events","html_url":"https://github.com/mondediefr/mondedie-chat/issues/13","id":117407404,"number":13,"title":"Fichier .env non trouvé par le slug heroku","user":{"login":"hardware","id":327354,"avatar_url":"https://avatars.githubusercontent.com/u/327354?v=3","gravatar_id":"","url":"https://api.github.com/users/hardware","html_url":"https://github.com/hardware","followers_url":"https://api.github.com/users/hardware/followers","following_url":"https://api.github.com/users/hardware/following{/other_user}","gists_url":"https://api.github.com/users/hardware/gists{/gist_id}","starred_url":"https://api.github.com/users/hardware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hardware/subscriptions","organizations_url":"https://api.github.com/users/hardware/orgs","repos_url":"https://api.github.com/users/hardware/repos","events_url":"https://api.github.com/users/hardware/events{/privacy}","received_events_url":"https://api.github.com/users/hardware/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mondediefr/mondedie-chat/labels/Bug%20/%20issue","name":"Bug / issue","color":"fc2929"},{"url":"https://api.github.com/repos/mondediefr/mondedie-chat/labels/Low%20Priority","name":"Low Priority","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"hardware","id":327354,"avatar_url":"https://avatars.githubusercontent.com/u/327354?v=3","gravatar_id":"","url":"https://api.github.com/users/hardware","html_url":"https://github.com/hardware","followers_url":"https://api.github.com/users/hardware/followers","following_url":"https://api.github.com/users/hardware/following{/other_user}","gists_url":"https://api.github.com/users/hardware/gists{/gist_id}","starred_url":"https://api.github.com/users/hardware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hardware/subscriptions","organizations_url":"https://api.github.com/users/hardware/orgs","repos_url":"https://api.github.com/users/hardware/repos","events_url":"https://api.github.com/users/hardware/events{/privacy}","received_events_url":"https://api.github.com/users/hardware/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-11-17T17:32:44Z","updated_at":"2015-11-17T17:32:44Z","closed_at":null,"body":"```\r\n17 Nov 2015 07:51:20.534 app web.1 - - { [Error: ENOENT, no such file or directory '.env'] errno: -2, code: 'ENOENT', path: '.env', syscall: 'open' }\r\n```\r\n\r\nLe fichier .env est inutile sur heroku, il n'est utilisé qu'en environnement de développement par foreman ou vagrant, il faudra penser à spécifier le module **dotenv** en dépendance de dev et de mettre une condition avant le require dans *app.js*"}}