-
Notifications
You must be signed in to change notification settings - Fork 17
Developing on the Dev System
Phil Hofmann edited this page May 14, 2019
·
7 revisions
These instructions are for working with https://github.com/voicerepublic/vr-devbox
These need to be configured in your VirtualBox machine settings.
Host | HostPort | Guest | GuestPort |
---|---|---|---|
127.0.0.1 | 1935 | (whatever) | 1935 |
127.0.0.1 | 3000 | (whatever) | 3000 |
127.0.0.1 | 3001 | (whatever) | 3001 |
127.0.0.1 | 9292 | (whatever) | 9292 |
Make them bind to 0.0.0.0
instead of localhost
or 127.0.0.1
.
-
rails s -b 0.0.0.0
for the main app -
rails s -b 0.0.0.0 -p 3001
for the backoffice app -
rackup faye.ru -E production --host 0.0.0.0
for faye
Then you can access the apps from you host system with
- http://localhost:3000/ for the main app
- http://localhost:3001/ for the backoffice app