diff --git a/.gitignore b/.gitignore index 0807b17..91ec8c0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ */node_modules/* arduino/.build/* npm-debug.log +config.js \ No newline at end of file diff --git a/README.md b/README.md index 57bce49..8996dd2 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ This should work in such a way that the user logs into a web interface where the - [x] Light-Sensor - [x] RC-Transmitter (Receiver?) - [x] IR-Transmitter -- [ ] IR-Receiver +- [x] IR-Receiver - [x] RC-Poweroutlets - [x] LEDs diff --git a/nodejs/config.js.example b/nodejs/config.js.example new file mode 100644 index 0000000..0af3a11 --- /dev/null +++ b/nodejs/config.js.example @@ -0,0 +1,8 @@ +var config = {}; + +config.mysql_host = 'localhost'; +config.mysql_user = 'user'; +config.mysql_secret = 'password'; +config.mysql_database = 'autohome'; + +module.exports = config; \ No newline at end of file