Last active
April 21, 2022 19:49
-
-
Save cloudybdone/28eddf948b4f2bee77d2fb83f8b3ed80 to your computer and use it in GitHub Desktop.
Hosting Node.js Apps on Heroku
This file contains hidden or 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
| If you need any help related to Heroku Node.js App Setup Service on Ubuntu Linux contact with me: | |
| Telegram: https://t.me/Cloudybdone | |
| WhatsApp: https://wa.link/3j794g | |
| Skype: https://join.skype.com/invite/vLFaKHx... | |
| Email: cloudybdone@gmail.com | |
| Linkedin: https://www.linkedin.com/in/cloudybdone/ | |
| Facebook: https://www.facebook.com/cloudybdone/ | |
| About Me: https://about.me/cloudybdone | |
| YouTube PlayList: https://www.youtube.com/watch?v=tNWH5Yb7TzQ&list=PLiveDaEySXe8llIIM2tDBkgHDpjV--Neu | |
| sudo -i | |
| apt update -y && apt-get upgrade -y | |
| apt update -y | |
| apt install apt-show-versions | |
| apt-show-versions | grep upgradeable | |
| apt update -y && apt upgrade -y | |
| apt install git | |
| git config --global user.name "mukul" | |
| git config --global user.email cloudybdone@gmail.com | |
| ssh-add ~/.ssh/id_rsa | |
| # Add SSH Key the GitHub | |
| cat /root/.ssh/id_rsa.pub | |
| nano /etc/ssh/sshd_config | |
| # Find (ctrl+w) this line and set | |
| PermitRootLogin yes | |
| service ssh restart | |
| apt -y autoclean && apt -y clean | |
| apt upgrade -y && apt update | |
| reboot | |
| curl -sL https://deb.nodesource.com/ | |
| sudo apt-get install gcc g++ make | |
| curl -sL https://dl.yarnpkg... | |
| echo "deb https://dl.yarnpkg.com/debian/ .. | |
| sudo apt-get update && sudo apt-get install yarn | |
| sudo snap install heroku... | |
| heroku login -i | |
| node --version | |
| npm update | |
| npm --version | |
| git clone https://github.com/heroku... | |
| heroku create | |
| git push heroku main | |
| heroku open | |
| heroku logs --tail | |
| heroku ps | |
| heroku ps:scale web=0 | |
| heroku local web |
cloudybdone
commented
Apr 21, 2022
Author

Author
Author
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


