add config js

This commit is contained in:
Shannon 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;