Skip to content

Instantly share code, notes, and snippets.

View myonaingwinn's full-sized avatar
ROCK ON 🤘!

Myo Naing Winn myonaingwinn

ROCK ON 🤘!
  • 20:30 (UTC +09:00)
View GitHub Profile
@myonaingwinn
myonaingwinn / Heroku Deployment NodeJS.md
Last active August 22, 2024 00:35
Heroku Deployment (Sub directory or Subtree)
  1. Create Heroku app on terminal.
    heroku create -a app_name

  2. Add existing Heroku app's remote.
    heroku git:remote -a app_name

  3. Add commit and push (every push will make new builds)

  4. Deploy subfolder directly on Heroku server.
    git subtree push --prefix folder_name remote_name branch_name\

@myonaingwinn
myonaingwinn / ssh-config
Last active April 19, 2023 01:36
SSH Configuration
Host name
HostName ip
User username
Port 22
IdentityFile pem-file-location
ServerAliveInterval 60
For example ~~ 👇