add config js

This commit is contained in:
Stefan Sterz 2016-02-01 15:34:05 +01:00
parent 542926eca6
commit 06ade23691
3 changed files with 10 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
*/node_modules/*
arduino/.build/*
npm-debug.log
config.js

View File

@ -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

8
nodejs/config.js.example Normal file
View File

@ -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;