From 9a22fdce7595c9ec6aca8ca76ed531a9e945701a Mon Sep 17 00:00:00 2001 From: IMXNOOBX <69653071+IMXNOOBX@users.noreply.github.com> Date: Tue, 2 Apr 2024 14:29:20 +0200 Subject: [PATCH] Added pm2 start/stop scripts. *just for linux* --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ee28822..c4bb8a0 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,9 @@ "build": "next build", "start": "next start", "production": "next build && next start -p 4224", - "lint": "next lint" + "lint": "next lint", + "pm2-start": "pm2 start \"npm run production\" --name my-universe", + "pm2-stop": "pm2 delete my-universe" }, "dependencies": { "framer-motion": "^11.0.20",