{"action":"created","issue":{"url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/issues/6","labels_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/issues/6/comments","events_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/issues/6/events","html_url":"https://github.com/LowPowerLab/RaspberryPi-Gateway/pull/6","id":117510810,"number":6,"title":"Convert to node.js app server.","user":{"login":"karrots","id":6307688,"avatar_url":"https://avatars.githubusercontent.com/u/6307688?v=3","gravatar_id":"","url":"https://api.github.com/users/karrots","html_url":"https://github.com/karrots","followers_url":"https://api.github.com/users/karrots/followers","following_url":"https://api.github.com/users/karrots/following{/other_user}","gists_url":"https://api.github.com/users/karrots/gists{/gist_id}","starred_url":"https://api.github.com/users/karrots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karrots/subscriptions","organizations_url":"https://api.github.com/users/karrots/orgs","repos_url":"https://api.github.com/users/karrots/repos","events_url":"https://api.github.com/users/karrots/events{/privacy}","received_events_url":"https://api.github.com/users/karrots/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":36,"created_at":"2015-11-18T04:23:10Z","updated_at":"2015-12-16T04:58:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/pulls/6","html_url":"https://github.com/LowPowerLab/RaspberryPi-Gateway/pull/6","diff_url":"https://github.com/LowPowerLab/RaspberryPi-Gateway/pull/6.diff","patch_url":"https://github.com/LowPowerLab/RaspberryPi-Gateway/pull/6.patch"},"body":"This PR contains two commits.\r\n\r\nCommit 8025063 converts the application to a pure node.js application. run the application with `npm start` after running `npm install` to install dependencies listed in `package.json`. \r\n\r\nMost dependencies were updated in the `package.json` as well. I left serialport and nedb at their current versions. Both look like they have possible breaking changes. I'll let you evaluate the need for those changes. Nedb would be good to look at as it has a fix in the latest version that looks like it may fix issues people are seeing with losing data.\r\n\r\nCommit 6917316 in this PR adds a Dockerfile and moves the database, SSL certs, and other items that need to persist across containers into a new directory labeled `data`. This will allow the data to persist across new docker image builds and restarts. This Dockerfile works with resin.io for easy deployment to a favorite Raspberry Pi. I also use it on my regular desktop."},"comment":{"url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/issues/comments/164995736","html_url":"https://github.com/LowPowerLab/RaspberryPi-Gateway/pull/6#issuecomment-164995736","issue_url":"https://api.github.com/repos/LowPowerLab/RaspberryPi-Gateway/issues/6","id":164995736,"user":{"login":"karrots","id":6307688,"avatar_url":"https://avatars.githubusercontent.com/u/6307688?v=3","gravatar_id":"","url":"https://api.github.com/users/karrots","html_url":"https://github.com/karrots","followers_url":"https://api.github.com/users/karrots/followers","following_url":"https://api.github.com/users/karrots/following{/other_user}","gists_url":"https://api.github.com/users/karrots/gists{/gist_id}","starred_url":"https://api.github.com/users/karrots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karrots/subscriptions","organizations_url":"https://api.github.com/users/karrots/orgs","repos_url":"https://api.github.com/users/karrots/repos","events_url":"https://api.github.com/users/karrots/events{/privacy}","received_events_url":"https://api.github.com/users/karrots/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T04:58:27Z","updated_at":"2015-12-16T04:58:27Z","body":"Still need to verify but it looks like it should be `/lib/systemd/system/`"}}