当前位置:网站首页>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
边栏推荐
- Explanation of the second I interval of 2020 Niuke summer multi school training camp
- H. Are You Safe? Convex hull naked problem
- 代理服务器
- Guaba and Computational Geometry
- Rust:如何 match 匹配 String 字符串?
- Busybox initrd and initialization process
- 檢測技術與原理
- [leetcode 67] sum of two binary numbers
- Techniques et principes de détection
- Robocode教程3——Robo机器剖析
猜你喜欢
基于Sentinel+Nacos 对Feign Client 动态添加默认熔断规则
SQL -- data definition
scikit-learn sklearn 0.18 官方文档中文版
Type conversion in C #
Database - sorting data
Robocode教程3——Robo机器剖析
MySQL groups are sorted by a field, and the first value is taken
Addition, deletion, modification and query of MySQL table
Advanced operation of idea debug
Import of data
随机推荐
[leetcode217] there are duplicate elements
Linux 用rpm的方式安装mysql(超简单)
Techniques et principes de détection
ArcGIS表转EXCEL超出上限转换失败
Robocode教程4——Robocode的游戏物理
用二进制进行权限管理
Programming training
Advanced operation of idea debug
用C语言实现重写strcmp等四个函数
Storing inherited knowledge in cloud computing
小区房价可视化
Mysql database foundation
爬虫效率提升方法
gst-launch-1.0用法小记
识别验证码
实现一个计算m~n(m<n)之间所有整数的和的简单函数
Rust的闭包类型(Fn, FnMut, FnOne的区别)
日志
生成验证码
安装pyshp库