Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nuxt-backend-helper
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王曜嵚 Wang Yaoqin
nuxt-backend-helper
Commits
354e3b2d
Commit
354e3b2d
authored
Dec 02, 2024
by
王曜嵚 Wang Yaoqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev: 文档
parent
a709c5f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
15 deletions
+3
-15
README.md
README.md
+3
-15
No files found.
README.md
View file @
354e3b2d
#
# 安装
#
备注
使用
`node`
20 及以上版本安装
[
安装文档
](
./docs/安装.md
)
## 部署
[
使用文档
](
./docs/登录.md
)
1.
运行
`npm run build`
命令后得到
`output`
文件夹
2.
进入
`output`
文件夹,运行启动命令
`node ./server/index.mjs`
,node命令必须具有以下参数
*
`NUXT_PG_HOST`
: Postgres 数据库地址
*
`NUXT_PG_PORT`
: Postgres 数据库端口
*
`NUXT_PG_PASSWORD`
: Postgres 数据库密码
*
`NUXT_PG_DATABASE`
: Postgres 数据库名称
*
`NUXT_PUBLIC_DOCKER_HOST`
: 公开容器地址
*
`PORT`
: 服务端口
## 使用
初次运行后,会检查 Postgres 数据库是否安装,未安装则执行安装步骤。安装完成后,可以进入
`localhost:PORT`
地址查看服务内容
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment