diff --git a/README.md b/README.md index b25bfad..124a340 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,29 @@ Next version for jvue-front using [nuxt3](https://github.com/nuxt/framework) whi We will start develop after Nuxt3 **stabe** release,please wait... -## build +## Install +```bash +dnf install npm +npm i -g yarn +npm i -g vercel +npm i -g pm2 +``` +## Init +```bash +yarn +``` + +## dev ```bash vercel dev +``` + +## deploy +```bash +pm2 start pm2.json +``` + +```bash +pm2 stop pm2.json ``` \ No newline at end of file diff --git a/pm2.json b/pm2.json new file mode 100644 index 0000000..1210381 --- /dev/null +++ b/pm2.json @@ -0,0 +1,11 @@ +{ + "apps": [ + { + "name": "jvue-from", + "script": "yarn", + "args" : "vdev", + "instances": "max", + "exec_mode": "cluster" + } + ] +} \ No newline at end of file