Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SichengH authored Sep 7, 2022
1 parent fea9221 commit cfa45a8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,20 @@
1. Add mimic-production to remote
After the pull request of the new material is merged into the main branch of mimic-website, pull down the latest version of main to your local repo. Run the following command after filling in the IP address for server Heimdallr:

`git remote add mimic-production webuser@<IP address for Heimdallr>:/home/webuser/mimic-website.git`
`git remote add mimic-production webuser@192.168.100.160:/home/webuser/mimic-website.git`

* Optional: Check if the command above ran correctly,
Run command: `git remote -v`
should return:
mimic-production webuser@<IP address for Heimdallr>:/home/webuser/mimic-website.git (fetch)
mimic-production webuser@<IP address for Heimdallr>:/home/webuser/mimic-website.git (push)
mimic-production webuser@<192.168.100.160>:/home/webuser/mimic-website.git (fetch)
mimic-production webuser@<192.168.100.160>:/home/webuser/mimic-website.git (push)
origin https://www.github.com/MIT-LCP/mimic-website (fetch)
origin https://www.github.com/MIT-LCP/mimic-website (push)

2. Sshuttle into the production server
(Skip if you are within the lab secure network, aka the "red lines")

Run the following command after filling in the LCP username and IP address: `alias sshcsail="sshuttle -r <LCP username>@heimdallr.csail.mit.edu 192.168.100.0/24"`
Run the following command after filling in the LCP username and IP address: `alias sshcsail="sshuttle -r <LCP username>@heimdallr.csail.mit.edu 192.168.100.0/24"`

Run command: `sshcsail`

Expand Down

0 comments on commit cfa45a8

Please sign in to comment.