当前位置:网站首页>PM2 deploy nuxt project
PM2 deploy nuxt project
2022-04-23 06:34:00 【xingsfdz】
1. Cloning code

2.vscode Open the project And install
yarn

3. Compile package build .nuxt Catalog ( Subsequent upgrade Just replace the directory )
yarn build
perhaps
npm run build

4. Login pagoda installation pm2

5. Enter into nginx The root directory
cd /www/server/nginx/html

6. Upload the directory and files to the server

7. Installation dependency
npm install
perhaps
yarn
8. Start project
# ouyang Name the project
pm2 start npm --name "ouyang" -- run start
as follows Identify successful startup 
9.ip: port Visit
10.pm2 Common commands
pm2 list -- A list of items
pm2 kill -- End all pm2 project
pm2 start npm --name " Project name " -- run start -- Start project
版权声明
本文为[xingsfdz]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210614266939.html
边栏推荐
猜你喜欢

MySQL groups are sorted by a field, and the first value is taken

Rust的闭包类型(Fn, FnMut, FnOne的区别)

Robocode教程7——雷达锁定

Addition, deletion, modification and query of MySQL table

Mysql database foundation

ArcGIS表转EXCEL超出上限转换失败

Kalman filter and inertial integrated navigation

St table template

檢測技術與原理

Installation and usage skills of idea
随机推荐
自动控制原理知识点整合归纳(韩敏版)
[leetcode 54] spiral matrix
批量导出Arcgis属性表
pyppeteer爬虫
Common sense of thread pool
爬取彩票数据
电机与拖动(戚金清版)学习整理
安装pyshp库
Integration and induction of knowledge points of automatic control principle (Han min version)
LockSupport. Park and unpark, wait and notify
深拷贝和浅拷贝的区别
Feign请求日志统一打印
The most practical chrome plug-in
[leetcode217] there are duplicate elements
Rust:单元测试(cargo test )的时候显示 println 的输出信息
C # Foundation
@Problems caused by internal dead loop of postconstruct method
识别验证码
St table template
Qthread simple test understanding