Skip to content

Commit

Permalink
feat: pm2 port
Browse files Browse the repository at this point in the history
  • Loading branch information
AnsonZnl committed Dec 18, 2023
1 parent 71e1e47 commit b68b412
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/articles/Next/使用PM2部署Next服务.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ npm run build
pm2 start --name yourappname npm -- start
```

也可以指定端口启动:

```
pm2 start npm --name "yourappname" -- start -- -p 8000
```

启动成功后,使用命令查看服务状态:

```
Expand Down

1 comment on commit b68b412

@vercel
Copy link

@vercel vercel bot commented on b68b412 Dec 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

v-blog – ./

zhangningle.vercel.app
v-blog-znl-github.vercel.app
v-blog-git-master-znl-github.vercel.app

Please sign in to comment.