mirror of
https://github.com/AIR-EISTI/hades.git
synced 2025-04-08 00:45:14 +02:00
Upgrade dependencies and add default config files
This commit is contained in:
parent
e43233d35a
commit
dc3f4da6b4
4 changed files with 4505 additions and 3605 deletions
11
config.js
Normal file
11
config.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
module.exports = {
|
||||
// The port Hades API will listen on.
|
||||
hadesServerPort: 5050,
|
||||
// The host Hades API will listen on.
|
||||
// If Hades is not running behind a reverse proxy or if you want it accessible
|
||||
// directly change it to the remote ip of your server.
|
||||
hadesServerHost: '127.0.0.1',
|
||||
// The directory in which will be stored the game configuration files.
|
||||
// The directory should exist before the application starts.
|
||||
configDir: __dirname + '/server/configs'
|
||||
}
|
8063
package-lock.json
generated
8063
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -26,15 +26,14 @@
|
|||
"express": "^4.16.4",
|
||||
"express-ws": "^4.0.0",
|
||||
"jsonfile": "^5.0.0",
|
||||
"node-pty": "^0.7.8",
|
||||
"nodemon": "^1.18.4",
|
||||
"node-pty": "^1.0.0",
|
||||
"rxjs": "~6.2.0",
|
||||
"xterm": "^3.8.0",
|
||||
"xterm": "^3.5.0",
|
||||
"zone.js": "~0.8.26"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "~0.8.0",
|
||||
"@angular/cli": "~6.2.5",
|
||||
"@angular/cli": "^6.1.5",
|
||||
"@angular/compiler-cli": "^6.1.0",
|
||||
"@angular/language-service": "^6.1.0",
|
||||
"@types/jasmine": "~2.8.8",
|
||||
|
|
29
server/configs/example.json
Normal file
29
server/configs/example.json
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"name": "Trackmania",
|
||||
"uid": 1000,
|
||||
"gid": 1000,
|
||||
"cwd": ".",
|
||||
"vars": [
|
||||
{
|
||||
"name": "file",
|
||||
"label": "Script sh",
|
||||
"default": "test.sh"
|
||||
},
|
||||
{
|
||||
"name": "arg1",
|
||||
"label": "Premier argument",
|
||||
"default": "plouf"
|
||||
},
|
||||
{
|
||||
"name": "arg2",
|
||||
"label": "Deuxième argument",
|
||||
"default": "plif"
|
||||
}
|
||||
],
|
||||
"command": [
|
||||
"sh",
|
||||
"$var_file",
|
||||
"$var_arg1",
|
||||
"$var_arg2"
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue