Skip to content

Commit 0534de2

Browse files
authored
Add ssh port forwarding steps to EC2 dev setup instructions
1 parent 4eaa713 commit 0534de2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

SETUP.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ Many Windows developers have found that setting up an Ubuntu virtual machine is
178178
```
179179
* run `ssh yourname-ec2` to connect to your instance
180180
1. Go back up to the [overview](#overview) and run the commands there.
181+
1. Once you have successfully completed `rake build`, you can connect to it as follows:
182+
* run `ssh -L 3000:127.0.0.1:3000 yourname-ec2 ~/code-dot-org/bin/dashboard-server` on your local machine. This sets up SSH port forwarding from your local machine to your ec2 dev instance for as long as your dashboard server is running.
183+
* navigate to http://localhost-studio.code.org:3000/ on your local machine
181184
182185
## Enabling JavaScript builds
183186
The default dashboard install uses a static build of JS, but if you want to make modifications to these you'll want to enable local builds of the JavaScript packages. You'll need to do this once:

0 commit comments

Comments
 (0)