13
src/run-test.ts
Normal file
13
src/run-test.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
const fs = require('fs');
|
||||
const os = require('os');
|
||||
if(!global.DATA_PATH || global.DATA_PATH==="")
|
||||
global.DATA_PATH="../DATA-TEST";
|
||||
global.CODE_PATH=process.cwd();
|
||||
global.HTTP_PORT_NUMBER = 8080;
|
||||
global.START_PORT_NUMBER = 40000;
|
||||
if(global.LOCAL_RUN===undefined)
|
||||
global.LOCAL_RUN=0;
|
||||
|
||||
global.TEST_NETWORK = 1;
|
||||
|
||||
require('./process/main-process');
|
||||
Reference in New Issue
Block a user