:pencil: [Doc] Commands of running the service
Browse files
README.md
CHANGED
@@ -8,4 +8,24 @@ app_port: 12345
|
|
8 |
---
|
9 |
|
10 |
Mirrors:
|
11 |
-
* https://hansimov-llm-mixer.hf.space
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
---
|
9 |
|
10 |
Mirrors:
|
11 |
+
* https://hansimov-llm-mixer.hf.space
|
12 |
+
|
13 |
+
|
14 |
+
## Run
|
15 |
+
### Command Line
|
16 |
+
|
17 |
+
```sh
|
18 |
+
git clone https://github.com/Rob--W/cors-anywhere.git cors-anywhere
|
19 |
+
|
20 |
+
cd cors-anywhere
|
21 |
+
# Set proxy or registry if needed:
|
22 |
+
# npm config set proxy http://<server>:<port>
|
23 |
+
# npm config set registry https://registry.npmmirror.com
|
24 |
+
# Or set proxy directly:
|
25 |
+
# npm --porxy http://<server>:<port> install <*>
|
26 |
+
sudo npm install && sudo npm install http-server -g
|
27 |
+
|
28 |
+
cd ..
|
29 |
+
PORT=12349 node ./cors-anywhere/server.js &
|
30 |
+
http-server -p 12345
|
31 |
+
```
|