From 06ade2369172ba840797546d697b9adf0decfc26 Mon Sep 17 00:00:00 2001 From: Stefan Sterz Date: Mon, 1 Feb 2016 15:34:05 +0100 Subject: [PATCH] add config js --- .gitignore | 1 + README.md | 2 +- nodejs/config.js.example | 8 ++++++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 nodejs/config.js.example 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