luo 0.1.20 → 0.1.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.zh.md +7 -6
- data/lib/luo/init_project.rb +1 -0
- data/lib/luo/projects/init.rb +1 -7
- data/lib/luo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f0041ac90d5a47bfaa129bc877e38a350e0bdf757a6ea8d1da945ec2af83864
|
4
|
+
data.tar.gz: fafb2c21415dbe6a5fbcf1ab21477e9ef580b3122ea35c3f333d2bb1a370555b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db9272f29f87859e3c364240b7ec586966ffe230ae951c56d6457f64c929e1eedacd4176cde01c6fc33489bea169bad26756d39640802ce41441c86629e02db5
|
7
|
+
data.tar.gz: 6b279cdfb131e7042ec94ea9b12f09c7bf3012ad782d0cd8a84b98ec197470ef78bb03776c046f3ab54d7f6382cd4e5a3825288224ef6f80fc9ac8dd720a16b8
|
data/README.zh.md
CHANGED
@@ -3,19 +3,20 @@
|
|
3
3
|
|
4
4
|
## 安装
|
5
5
|
|
6
|
-
###
|
6
|
+
### ruby 原生(不推荐)
|
7
7
|
```
|
8
8
|
gem install luo
|
9
9
|
```
|
10
10
|
|
11
|
-
###
|
12
|
-
|
11
|
+
### docker (推荐)
|
12
|
+
1. 安装docker
|
13
13
|
|
14
14
|
```
|
15
|
-
|
15
|
+
docker pull ghcr.io/mjason/luo:latest
|
16
|
+
# 把下面这句话添加到 ~/.bashrc 或者 ~/.zshrc
|
17
|
+
alias luo='docker run --rm -it -p 8888:8888 -v "$PWD:/workdir" ghcr.io/mjason/luo:latest'
|
16
18
|
```
|
17
19
|
|
18
|
-
|
19
20
|
## 环境变量说明
|
20
21
|
```Bash
|
21
22
|
OPENAI_ACCESS_TOKEN= # OpenAI的访问令牌
|
@@ -34,7 +35,7 @@ XINGHUO_ACCESS_TOKEN= # 星火大模型的访问令牌
|
|
34
35
|
2. cd demo
|
35
36
|
3. luo init
|
36
37
|
4. 修改 .env 的环境变量
|
37
|
-
5.
|
38
|
+
5. luo r
|
38
39
|
|
39
40
|
### Messages 说明
|
40
41
|
```ruby
|
data/lib/luo/init_project.rb
CHANGED
data/lib/luo/projects/init.rb
CHANGED
data/lib/luo/version.rb
CHANGED