The deployed playground can be run locally to test your changes and samples. In order to do so, you have to follow the steps below:
See how to install Ruby depending on your OS here.
Note: Some OS might come with built-in Ruby, so you don't have to install it on your own. (To check if Ruby is installed, run ruby -v
in the terminal.)
Bundler is a tool for managing dependencies in Ruby. You need to install version 2.02 of Bundler. In order to install it run:
gem install bundler -v 2.0.2
bundle install
In your terminal, run the following command:
yarn start:playground
This will build all the necessary assets and will start local server on your machine. To access the playground, visit: http://localhost:4000/