Open kesar opened 2 years ago
PM2 has a feature for separating environments tho (https://pm2.keymetrics.io/docs/usage/environment/) might be useful in this case, we can probably even point out which .env to use depending on what environment we're in
instead of using yarn dev it should build and execute code perhaps use docker make sure .envs are the right ones new DB