-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploying the app using PM2 in EC2 #394
Comments
I just deployed on DigitalOcean droplet and this worked.
pm2 config and setupStep 1: Step 2: Create
Replace 'MERN' with your app's name so it will show in pm2 list. Step 3: Start app's process using pm2 For production - You should see following output
Thats it! 👍 Your app is now up and running. Some basic pm2 operations / [ replace MERN with your app name]Stop App Start App Monitor App Delete App Show list of running pm2 processes |
Hi, Thanks for the response. Let me spin up an instance with all these changes and I will update if it worked. Once again, thanks. |
Will close for the time being, feel free to reopen if there is still an issue related to the repo itself. |
Hi,
I am following this tutorial
https://medium.com/@Keithweaver_/setting-up-mern-stack-on-aws-ec2-6dc599be4737
and trying to deploy this app.However, I am stuck in this step
pm2 start server.js -- --production
. It is throwing error but there is no description of error / logs.Have anyone deployed this app to EC2 with PM2 ? Can you please help in deploying this app ?
Or is there anything wrong with this command
pm2 start server.js -- --production
Thanks,
The text was updated successfully, but these errors were encountered: