add config js
This commit is contained in:
parent
542926eca6
commit
06ade23691
3 changed files with 10 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
*/node_modules/*
|
||||
arduino/.build/*
|
||||
npm-debug.log
|
||||
config.js
|
|
@ -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
8
nodejs/config.js.example
Normal 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;
|
Reference in a new issue