Movatterモバイル変換


[0]ホーム

URL:


Environment Variables

Variables

CodeRoad has a number of configurations:

  • CODEROAD_DISPLAY_RUN_TEST_BUTTON - show the "Run" button on the tutorial page. Defaultstrue.

  • CODEROAD_DISABLE_RUN_ON_SAVE - stop running tests whenever a file is saved. Defaultsfalse.

  • CODEROAD_TUTORIAL_URL - pass in a url path to atutorial.json file. The tutorial will launch on startup. This is a way to create one-click tutorial experiences for web or locally. Defaultsnull.

  • CODEROAD_ADMIN_MODE - a mode for tutorial developers. Under the "Review" page, you can jump around between levels & steps to test development. Defaultsfalse.

How to Use Variables

Local

Launch the code editor with the environmental variables.

CODEROAD_ADMIN_MODE=true code.

Note that this requires theVSCode CLI.

Web / Virtual Machine

VSCode can be run in a browser in a variety of ways:

Read the docs for info on how to pass in variables, or contactcoderoadapp@gmail.com for a working example.


[8]ページ先頭

©2009-2025 Movatter.jp