Lab Framework Versions
However you can test your interactive against staging or development version of Lab Framework too.
There are additional interactives.html and embeddable.html pages:
- interactives-staging.html and embeddable-staging.html use staging version of Lab.
- interactives-dev.html and embeddable-dev.html use development version of Lab.
- interactives-local.html and embeddable-local.html use Lab that is hosted on
All these pages can be customized by editing
config/config.yml which contains following section:
# :lab_root_url: # :production: //lab-framework.concord.org/lab # :staging: //lab-framework.staging.concord.org/lab # :dev: //lab-framework.dev.concord.org/lab # :local: //localhost:9191/lab
Typically you won’t have to change these paths, as the default configuration is good enough for most tasks. It may be useful to overwrite one of these paths e.g. when you want to deploy topic branch of Lab Interactives Site that uses topic branch of Lab Framework. See configuration section.
Working with local Lab Framework
However note that by default both Lab Interactives Site and Lab Framework try to use
You will have to run Lab local server using
cd lab ./bin/rackup config.ru -p 9191
Then run Lab Interactives Site local server:
cd lab-interactives-site ./bin/rackup config.ru
and finally open:
Now you can modify Lab Framework and Lab Interactives Site at the same time and immediately see changes without need to deploy Lab Framework to development server.