Skip to content

Instantly share code, notes, and snippets.

@okeken
Created April 30, 2023 21:21
Show Gist options
  • Save okeken/35980d719d80699ab99e8bc27b55e6ba to your computer and use it in GitHub Desktop.
Save okeken/35980d719d80699ab99e8bc27b55e6ba to your computer and use it in GitHub Desktop.
Server Setup / CICD Instructions
Setup/Overview
- https://www.youtube.com/watch?v=bBA2yCnEf68
nginx configuration and server commands setup
- https://gist.github.com/okeken/cba0bb8e9159fd8f07eca60ebcfc42bb
Setup Users/Permission
- https://www.youtube.com/watch?v=T7Hw-94BSgg
- https://www.youtube.com/watch?v=zRw0SKaXSfI
File Permission
- https://www.youtube.com/watch?v=2JTWwpN-GCw
Nano/Vim Fundamentals -
Basic CMDs -
ls -a (view hidden files), l
ls -g (view permission permissions)
ls -ag (combine both)
cp - copy paste
mv - move or rename file
cat - (view file content)
Tools
PM2 - to run nodejs process at background
- https://www.youtube.com/watch?v=Tu6DXbbvxzo
PM2 commands
- pm2 list
- pm2 start npm --name processName -- start
- pm2 delete processName
- pm2 status - view running process
nginx - connect localhost on server to domain name
Github Actions
Action Crash course -https://www.youtube.com/watch?v=6-RtA6FlbgQ
Runners - https://www.youtube.com/watch?v=SASoUr9X0QA&t=45s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment