Skip to content

Commit 4805cc2

Browse files
committed
init
0 parents  commit 4805cc2

105 files changed

Lines changed: 10258 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package-lock.json
2+
node_modules
3+
logs
4+
dist
5+
config

.vscode/launch.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"type": "node",
6+
"request": "attach",
7+
"name": "Attach to Remote",
8+
"address": "demo1red.openrpa.dk",
9+
"port": 5858,
10+
"localRoot": "${workspaceFolder}/OpenFlowNodeRED/dist",
11+
"remoteRoot": "/data"
12+
},
13+
{
14+
"name": "Launch index.html",
15+
"type": "chrome",
16+
"request": "launch",
17+
"url": "https://localhost.openrpa.dk:3000/",
18+
"webRoot": "${workspaceFolder}/dist/Public/index.html"
19+
},
20+
{
21+
"args": [],
22+
"cwd": "${workspaceRoot}",
23+
"envFile": "${workspaceFolder}/config/.env",
24+
"name": "OpenFlow",
25+
"outFiles": [
26+
"${workspaceRoot}/dist/**/*"
27+
],
28+
"outputCapture": "std",
29+
"preLaunchTask": "openflow-tsc-watch",
30+
"program": "${workspaceRoot}/OpenFlow/src/index.ts",
31+
"request": "launch",
32+
"runtimeArgs": [
33+
"--nolazy"
34+
],
35+
"trace": true,
36+
"runtimeExecutable": null,
37+
"sourceMaps": true,
38+
"stopOnEntry": false,
39+
"type": "node"
40+
},
41+
{
42+
"args": [],
43+
"cwd": "${workspaceRoot}",
44+
"envFile": "${workspaceFolder}/config/.env",
45+
"name": "OpenFlowNodeRED",
46+
"outFiles": [
47+
"${workspaceRoot}/OpenFlowNodeRED/dist/**/*"
48+
],
49+
"outputCapture": "std",
50+
"preLaunchTask": "openflownodered-tsc-watch",
51+
"program": "${workspaceRoot}/OpenFlowNodeRED/src/index.ts",
52+
"request": "launch",
53+
"runtimeArgs": [
54+
"--nolazy"
55+
],
56+
"trace": true,
57+
"runtimeExecutable": null,
58+
"sourceMaps": true,
59+
"stopOnEntry": false,
60+
"type": "node"
61+
}
62+
]
63+
}

.vscode/tasks.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"label": "tsc-watch-all",
8+
"command": "echo",
9+
"type": "shell",
10+
"args": [ "echo1" ],
11+
"group": {
12+
"kind": "build",
13+
"isDefault": true
14+
},
15+
"dependsOn":["gulp-task", "openflow-tsc-watch", "openflownodered-tsc-watch"]
16+
},
17+
{
18+
"label": "gulp-task",
19+
"command": "gulp",
20+
"args": ["--no-color"]
21+
},
22+
{
23+
"label": "openflow-tsc-watch",
24+
"type": "typescript",
25+
"tsconfig": "OpenFlow\\tsconfig.json",
26+
"option": "watch",
27+
"problemMatcher": [
28+
"$tsc-watch"
29+
]
30+
},
31+
{
32+
"label": "openflownodered-tsc-watch",
33+
"type": "typescript",
34+
"tsconfig": "OpenFlowNodeRED\\tsconfig.json",
35+
"option": "watch",
36+
"problemMatcher": [
37+
"$tsc-watch"
38+
]
39+
}
40+
// {
41+
// "label": "openflowweb-tsc-watch",
42+
// "type": "typescript",
43+
// "tsconfig": "OpenFlowWeb\\tsconfig.json",
44+
// "option": "watch",
45+
// "problemMatcher": [
46+
// "$tsc-watch"
47+
// ]
48+
// }
49+
50+
]
51+
}

Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM node:latest
2+
EXPOSE 80
3+
EXPOSE 5858
4+
WORKDIR /data
5+
COPY package*.json ./
6+
RUN npm install
7+
COPY dist ./
8+
9+
ENTRYPOINT ["/usr/local/bin/node", "--inspect=0.0.0.0:5858", "index.js"]

0 commit comments

Comments
 (0)