Last active
December 22, 2019 22:34
-
-
Save FFKL/4ce047c2261eeb7ef0a2260255777caf to your computer and use it in GitHub Desktop.
Start node app using mongodb and pm2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo mongod -f /etc/mongodb.conf --fork | |
pm2 start ecosystem.config.js | |
pm2 logs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment