@abtnode/webapp 1.16.20-beta-ce2cd157 → 1.16.20-beta-bb1cd034

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -13,6 +13,9 @@
13
13
  # CAUTION: this is required to eliminate create-react-scripts complainings
14
14
  SKIP_PREFLIGHT_CHECK=true
15
15
 
16
+ # e.g. /Users/bob/<project-path>/.blocklet-server server 任意的本地目录,建议设置到项目根目录下的 .blocklet-server 目录
17
+ ABT_NODE_DATA_DIR="<SERVER DATA DIR>"
18
+
16
19
  ABT_NODE_SESSION_SECRET="49bcf865c77a15993d87245b124bbc5125d2c3997437d1fda3"
17
20
  ABT_NODE_SESSION_TTL="1d"
18
21
  # Please use the following code to generate SK yourself
@@ -25,7 +28,13 @@ ABT_NODE_NAME="Blocklet Server (Dev)"
25
28
  ABT_NODE_DESCRIPTION="Web Interface to manage your Blocklet Server"
26
29
  # e.g. http://192.168.1.2:3030 如果登录的时候无法扫码,请检查该设置
27
30
  ABT_NODE_BASE_URL="http://<YOUR LOCAL LAN IP>:3030"
31
+
32
+ # 如果只想看 error 日志,设置 ABT_NODE_LOG_LEVEL 为 "error"
28
33
  ABT_NODE_LOG_LEVEL="info"
34
+
35
+ # 关闭 SQLITE 日志。如果想查看 SQLITE 日志请注释掉 DISABLE_SQLITE_LOG
36
+ DISABLE_SQLITE_LOG=1
37
+
29
38
  # 当且仅当,我们需要调试 npm run start:service 对应的前端的时候,才需要修改该配置(端口号为: 3040)
30
39
  ABT_NODE_SERVICE_FE_PORT=""
31
40
 
@@ -38,11 +47,8 @@ ABT_NODE_SERVICE_FE_PORT=""
38
47
  # if you are not in the core/webapp directory
39
48
  cd core/webapp
40
49
 
41
- # quickly start
42
- npm run start
43
-
44
- # if you want to debug the client and server
45
- # you can use the 4 terminal windows to start it with separately
50
+ # Option 1
51
+ # use the 4 terminal windows to start it with separately
46
52
 
47
53
  # terminal.0 => database && message queue
48
54
  npm run start:hub
@@ -53,6 +59,10 @@ npm run start:service
53
59
  # terminal.3 => server dashboard
54
60
  npm run start:client
55
61
 
62
+
63
+ # Option 2
64
+ # quickly start
65
+ npm run start
56
66
  ```
57
67
 
58
68
  Now, you are ready to hacking the Blocklet Server.