File tree 6 files changed +34
-2
lines changed
6 files changed +34
-2
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,11 @@ How to get ids and token:
82
82
- [ How to find ids] ( https://docs.statbot.net/docs/faq/general/how-find-id/ )
83
83
- [ Get discord token] ( https://www.androidauthority.com/get-discord-token-3149920/ )
84
84
85
+ You can visit [ midjourney-cookbook] ( https://gptgenius.github.io/midjourney-cookbook/ ) to get some samples about ` Midjourney ` prompts.
86
+
87
+ ### 4. Keep code synchronized (optional)
88
+ see [ Sync Fork] ( docs/sync.md )
89
+
85
90
## Other deployment methods
86
91
Run ` pnpm build ` and ` pnpm run server ` . Refer: [ astro-node] ( https://docs.astro.build/en/guides/integrations-guide/node/#standalone )
87
92
Original file line number Diff line number Diff line change 73
73
74
74
如果没有 OpenAI API Key 可查看 [ 也许是时候拥有自己的「ChatGPT」了] ( https://juejin.cn/post/7210274432332939322 )
75
75
76
+ > 注意:Vercel 所有环境变量设置后需要重新部署才能生效
77
+
76
78
### 3. 配置 Midjourney(可选)
77
79
如果你期望使用 ` Midjourney ` 的 AI 绘图功能,可以设置 ` Discord ` 的相关配置进行使用,包括以下字段:
78
80
- ` DISCORD_SERVER_ID `
83
85
- [ How to find ids] ( https://docs.statbot.net/docs/faq/general/how-find-id/ )
84
86
- [ Get discord token] ( https://www.androidauthority.com/get-discord-token-3149920/ )
85
87
88
+ 可以前往 [ midjourney-cookbook] ( https://gptgenius.github.io/midjourney-cookbook/ ) 获取一些 ` Midjourney ` prompt 样例
89
+
86
90
### 4. 设置默认语言(可选)
87
91
站点的默认语言是英文的,页面中支持切换语言,如果你希望部署一个默认中文站点,可以设置 ** LANGUAGE** 为 ` zh ` ,支持在 Vercel 环境变量和 ` .env ` 文件中配置
88
92
89
- > 注意:Vercel 所有环境变量设置后需要重新部署才能生效
90
-
91
93
### 5. 绑定域名(可选)
92
94
拥有自己的域名,可以在 vercel 上的 domain 中进行设置,即可无障碍访问
93
95
94
96
> vercel.app 域名受限,但 vercel 本身并未受限
95
97
98
+ ### 6. 保持代码同步更新(可选)
99
+ 见 [ Sync Fork] ( docs/sync.md )
100
+
96
101
## 其他部署方式
97
102
运行 ` pnpm build ` 和 ` pnpm run server ` ,参考:[ astro-node] ( https://docs.astro.build/en/guides/integrations-guide/node/#standalone )
98
103
Original file line number Diff line number Diff line change
1
+ ## Sync Fork
2
+ If you wish to keep your forked code updated, you may follow these steps:
3
+
4
+ 如果你希望保持 fork 代码的同步更新,可以按以下步骤来操作:
5
+ ### 1. First
6
+ Click Actions tab and enable workflows
7
+
8
+ 点击 Actions 标签页然后启用 workflows
9
+
10
+ ![ ] ( ../assets/sync-1.png )
11
+
12
+ ### 2. Second
13
+ Click ` Upsteam Sync ` and enable this workflow
14
+
15
+ 点击 ` Upsteam Sync ` 并且启用该 workflow
16
+
17
+ ![ ] ( ../assets//sync-2.png )
Original file line number Diff line number Diff line change
1
+ {
2
+ "github" : {
3
+ "silent" : true
4
+ }
5
+ }
You can’t perform that action at this time.
0 commit comments