File tree 3 files changed +6
-9
lines changed
3 files changed +6
-9
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# 依赖目录
2
2
node_modules /
3
+ package-lock.json
3
4
4
5
# 环境变量
5
6
.env
Original file line number Diff line number Diff line change @@ -24,37 +24,35 @@ EmaiListInbox 是一个简单的订阅服务,允许用户订阅日常技术新
24
24
| | -- style.css
25
25
| -- .gitignore
26
26
| -- README .md
27
- | -- package.json (如果使用了 Node.js)
28
- | -- server.js (如果有服务器端代码)
27
+ | -- package.json
29
28
```
30
29
- ` public/ ` - 包含网站的静态文件。
31
30
- ` index.html ` - 订阅表单的主页面。
32
31
- ` script.js ` - 处理订阅表单逻辑的 JavaScript 文件。
33
32
- ` style.css ` - 定义网页样式的 CSS 文件。
34
33
- ` .gitignore ` - 指定 git 忽略的文件和目录。
35
34
- ` README.md ` - 项目的文档说明文件。
36
- - ` package.json ` - Node.js 项目的依赖配置文件(如果适用)。
37
- - ` server.js ` - 服务器端逻辑文件(如果有服务器端代码)。
35
+ - ` package.json ` - Node.js 项目的依赖配置文件。
38
36
39
37
## 如何部署
40
38
41
39
要部署 TechNewsLetter 项目,请按照以下步骤操作:
42
40
43
41
1 . ** 在本地配置项目** :
44
- 克隆项目到本地并安装所有依赖(如果有后端代码) 。
42
+ 克隆项目到本地并安装所有依赖。
45
43
46
44
``` bash
47
45
git clone https://github.com/your-username/TechNewsLetter.git
48
46
cd TechNewsLetter
49
47
npm install # 如果有后端代码
50
48
```
51
49
52
- 2 . ** 在 Vercel 中部署** :
50
+ 1 . ** 在 Vercel 中部署** :
53
51
- 登录到 [ Vercel] ( https://vercel.com ) 并导入您的项目仓库。
54
52
- 根据需要配置项目(例如,设置环境变量)。
55
53
- 点击“Deploy”部署您的项目。
56
54
57
- 3 . ** 设置 Notion API** :
55
+ 2 . ** 设置 Notion API** :
58
56
- 在 Notion 配置您的集成并获取 API 密钥。
59
57
- 在 Vercel 的项目设置中添加 Notion API 密钥作为环境变量。
60
58
You can’t perform that action at this time.
0 commit comments