mirror of
https://github.com/balkian/Web4.0.git
synced 2025-07-01 13:22:24 +00:00
Deleted submodules
This commit is contained in:
parent
a6c57ef30c
commit
c54ae367be
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
tests
|
tests
|
||||||
configuration
|
configuration
|
||||||
|
node_modules
|
||||||
|
6
.gitmodules
vendored
6
.gitmodules
vendored
@ -1,6 +1,6 @@
|
|||||||
[submodule "hookio/hooks/Mailer"]
|
#[submodule "hookio/hooks/Mailer"]
|
||||||
path = hookio/hooks/Mailer
|
# path = hookio/hooks/Mailer
|
||||||
url = https://github.com/balkian/Hookio-Mailer.git
|
# url = https://github.com/balkian/Hookio-Mailer.git
|
||||||
#[submodule "configuration"]
|
#[submodule "configuration"]
|
||||||
# path = configuration
|
# path = configuration
|
||||||
# url = git@bitbucket.org:balkian/web4.0-configuration.git
|
# url = git@bitbucket.org:balkian/web4.0-configuration.git
|
||||||
|
1
config.json
Normal file
1
config.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
1
hookio/config.json
Normal file
1
hookio/config.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
28
hookio/monkey.js
Executable file
28
hookio/monkey.js
Executable file
@ -0,0 +1,28 @@
|
|||||||
|
#!/usr/bin/nodejs
|
||||||
|
|
||||||
|
var Hook = require('hook.io').Hook,
|
||||||
|
express = require('express'),
|
||||||
|
app = express.createServer(),
|
||||||
|
io = require('socket.io').listen(app);
|
||||||
|
|
||||||
|
app.listen(8008);
|
||||||
|
|
||||||
|
io.sockets.on('connection', function (socket) {
|
||||||
|
socket.emit('news', { hello: 'world' });
|
||||||
|
socket.on('my other event', function (data) {
|
||||||
|
console.log(data);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
var monkey = new Hook({
|
||||||
|
name: "monkey-hook",
|
||||||
|
debug: true
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
monkey.on('hook::ready', function () {
|
||||||
|
console.log('I am online :D');
|
||||||
|
});
|
||||||
|
|
||||||
|
monkey.start(1337);
|
||||||
|
|
@ -2,6 +2,8 @@
|
|||||||
"name": "Web4.0",
|
"name": "Web4.0",
|
||||||
"version" : "0.0.1",
|
"version" : "0.0.1",
|
||||||
"dependencies":{
|
"dependencies":{
|
||||||
|
"socket.io":"*",
|
||||||
|
"hook.io":"*",
|
||||||
"Hook.io-mailer":"git+https://github.com/balkian/Hookio-Mailer.git"
|
"Hook.io-mailer":"git+https://github.com/balkian/Hookio-Mailer.git"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user