twikoo 1.6.45 → 1.7.1

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/DEVELOPMENT.md ADDED
@@ -0,0 +1,39 @@
1
+ # Local Development
2
+
3
+ **Node.js** and **Yarn** are required.
4
+
5
+ ## Backend
6
+
7
+ ### Install dependencies
8
+
9
+ ```
10
+ cd src/server/function/twikoo
11
+ yarn
12
+ yarn link
13
+ cd ../../self-hosted
14
+ yarn
15
+ yarn link twikoo-func
16
+ ```
17
+
18
+ ### Start
19
+
20
+ ```
21
+ cd src/server/self-hosted
22
+ node server.js
23
+ ```
24
+
25
+ ## Frontend
26
+
27
+ ### Install dependencies
28
+
29
+ ```
30
+ yarn
31
+ ```
32
+
33
+ ### Start
34
+
35
+ ```
36
+ yarn dev
37
+ ```
38
+
39
+ Open <http://localhost:9820> in browser.