Browse Source

Add startup script etc

n8ores 4 năm trước cách đây
mục cha
commit
3453690fc2
3 tập tin đã thay đổi với 11 bổ sung18 xóa
  1. 6 17
      .vscode/launch.json
  2. 4 0
      Start WeKan.bat
  3. 1 1
      settings.json

+ 6 - 17
.vscode/launch.json

@@ -1,23 +1,12 @@
 {
   "version": "0.2.0",
   "configurations": [
-      {
-          "type": "chrome",
-          "request": "launch",
-          "name": "Meteor: Chrome",
-          "url": "http://localhost:3000",
-          "webRoot": "${workspaceFolder}"
-      },
-      {
-          "type": "node",
-          "request": "launch",
-          "name": "Meteor: Node",
-          "runtimeExecutable": "/home/wekan/.meteor/meteor",
-          "runtimeArgs": ["run", "--inspect-brk=9229"],
-          "outputCapture": "std",
-          "port": 9229,
-          "timeout": 60000
-      }
+    {
+        "name" : "Attach to meteor",
+        "type" : "node",
+        "request" : "attach",
+        "port" : 9229
+        }
   ],
   "compounds": [
       {

+ 4 - 0
Start WeKan.bat

@@ -0,0 +1,4 @@
+SET ROOT_URL=http://localhost
+SET WITH_API=true
+SET PORT=80
+meteor --port 80 debug

+ 1 - 1
settings.json

@@ -1 +1 @@
-{}
+{}