Skip to content

Instantly share code, notes, and snippets.

@cloudybdone
Last active April 21, 2022 19:49
Show Gist options
  • Select an option

  • Save cloudybdone/28eddf948b4f2bee77d2fb83f8b3ed80 to your computer and use it in GitHub Desktop.

Select an option

Save cloudybdone/28eddf948b4f2bee77d2fb83f8b3ed80 to your computer and use it in GitHub Desktop.
Hosting Node.js Apps on Heroku
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

Copy link
Copy Markdown
Author

Screenshot from 2022-04-20 23-26-20

@cloudybdone

Copy link
Copy Markdown
Author

Screenshot from 2022-04-20 23-25-42

@cloudybdone

Copy link
Copy Markdown
Author

Screenshot from 2022-04-22 00-30-04

@cloudybdone

Copy link
Copy Markdown
Author

Screenshot from 2022-04-18 23-29-51

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