sourav mandal
May 30, 2022

--

# Make sure config/env var file is ignored in gitignore

# pust latest code to git

# clone it in server

# pm2 start app. js — name “my-api”

# pm2 restart 1(number of the app)

# pm2 log 1(number of the app)

Git authentication

Github > Settings > Developer Settings > Personal access token > expiration > select repo as access > generate token > (use it instead of password>

--

--

sourav mandal

just a coder who forgets things so makes blogs so he can remember later