Skip to content

Instantly share code, notes, and snippets.

@Gaurav8757
Created May 22, 2024 07:10
Show Gist options
  • Select an option

  • Save Gaurav8757/03866434e7bdc2da99bdd0d3086a3af4 to your computer and use it in GitHub Desktop.

Select an option

Save Gaurav8757/03866434e7bdc2da99bdd0d3086a3af4 to your computer and use it in GitHub Desktop.

##Upload code to UBUNTU SERVER THROUGH GITHUB

git clone https://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@github.com/Gaurav8757/backend.git

##Command SERVER RUN, STOP, STATUS, REFRESH UPLOADS

  1. systemctl start backend
  2. systemctl stop backend
  3. systemctl status backend
  4. systemctl daemon-reload

##Command add files on ubuntu, open editor to edit & save

  1. touch filename
  2. vi filename with extension (index.jsx or index.js)
  3. :wq (click => enter key)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment