Krishna Srinivas
10 years ago
10 changed files with 11344 additions and 10817 deletions
@ -0,0 +1,16 @@ |
|||
lib-cov |
|||
*.seed |
|||
*.log |
|||
*.csv |
|||
*.dat |
|||
*.out |
|||
*.pid |
|||
*.gz |
|||
|
|||
tmp |
|||
pids |
|||
logs |
|||
results |
|||
|
|||
npm-debug.log |
|||
node_modules/* |
@ -0,0 +1,37 @@ |
|||
module.exports = function (grunt) { |
|||
|
|||
require('load-grunt-tasks')(grunt); |
|||
|
|||
var config = { |
|||
mkdir: { |
|||
tmp: { |
|||
options: { |
|||
create: ['tmp'] |
|||
} |
|||
} |
|||
}, |
|||
gitclone: { |
|||
hterm: { |
|||
options: { |
|||
cwd: './tmp', |
|||
repository: 'https://chromium.googlesource.com/apps/libapps' |
|||
} |
|||
} |
|||
}, |
|||
shell: { |
|||
build_hterm: { |
|||
command: 'LIBDOT_SEARCH_PATH=$(pwd) ./libdot/bin/concat.sh -i ./hterm/concat/hterm_all.concat -o ../../public/wetty/hterm_all.js', |
|||
options: { |
|||
execOptions: { |
|||
cwd: './tmp/libapps' |
|||
} |
|||
} |
|||
} |
|||
}, |
|||
clean: ['./tmp'] |
|||
}; |
|||
|
|||
grunt.initConfig(config); |
|||
|
|||
grunt.registerTask('update-hterm', ['mkdir:tmp', 'gitclone:hterm', 'shell:build_hterm', 'clean']); |
|||
}; |
@ -0,0 +1,13 @@ |
|||
# Upstart script |
|||
# /etc/init/wetty.conf |
|||
|
|||
description "Web TTY" |
|||
author "Wetty" |
|||
|
|||
start on started mountall |
|||
stop on shutdown |
|||
|
|||
respawn |
|||
respawn limit 20 5 |
|||
|
|||
exec sudo -u root wetty -p 3000 |
@ -0,0 +1,3 @@ |
|||
#!/usr/bin/env node
|
|||
|
|||
require("../app"); |
File diff suppressed because it is too large
File diff suppressed because it is too large
Loading…
Reference in new issue