Skip to content

Commit a6bca69

Browse files
authored
tweak koi readme section (#893)
1 parent dae7f53 commit a6bca69

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,18 @@ ocfweb
99

1010
## Working on `ocfweb` on the ocfstaff remote dev server
1111

12-
1. Run `devenv up`
12+
1. Open a terminal on your local host and run `ssh koi.ocf.io`.
13+
2. Then, run `git clone git@github.com:ocf/ocfweb.git`, `cd ocfweb`, then `devenv up`.
1314
- It may take about several minutes for all of the dependencies to install the first time. Give it at least 10 min.
1415
- You will see a process-compose tui appear, with a process called "web" and the logs visible. Your user's port is what is generated in the log line `Running on https://koi.ocf.berkeley.edu:YOUROWNPORT`, based on your uid. This is to avoid conflicts with other users who might also be running dev servers on koi.
15-
2. Open an SSH tunnel on your local host (**not** on `koi` or other OCF servers): `ssh -L YOUROWNPORT:localhost:YOUROWNPORT koi`
16+
3. Open an SSH tunnel on your local host (**not** on `koi` or other OCF servers): `ssh -L YOUROWNPORT:localhost:YOUROWNPORT koi`
1617
- to avoid this extra step in the future, add the following to your `~/.ssh/config`:
1718
```
1819
Host koi
1920
HostName koi.ocf.berkeley.edu
2021
LocalForward YOUROWNPORT localhost:YOUROWNPORT
2122
```
22-
3. Go to https://localhost:YOUROWNPORT in your local browser!
23+
4. Go to https://localhost:YOUROWNPORT in your local browser!
2324
2425
2526
## BELOW THIS IS OUTDATED. WIP

0 commit comments

Comments
 (0)