luo 0.1.20 → 0.1.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- 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: 88bde636d015458883a5e90dc2e1303b47843740c9c46aec01fc4805ed324a47
|
4
|
+
data.tar.gz: 1a6342aa5c4fc95af0334a393a86ff096209d605c2b4c26a039754a2ca37c2ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d6c1b65328aab12bb181dbe4aa9c075469a721b2b402b1a11323a2e21271452052da3f88423627f0ce37a01928bab5a1086d0eb11e1704ef0d362903791610a
|
7
|
+
data.tar.gz: 1722fa1125d04b9e0ac977465099d932a79347a39467c52f809a1194b9d11954448fcee9cfd8d782544bcc406e41bd590d3837e7116a216482edfdeac3abea43
|
data/Gemfile.lock
CHANGED
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