Skip to content

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

Port Forwards

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

Rails and Rackup Binds

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

Access

Then you can access the apps from you host system with

Clone this wiki locally