Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.25 KB

README.md

File metadata and controls

27 lines (20 loc) · 1.25 KB

SmartAlarmClock

craft ai getting started example.

To begin with, take a look at the dedicated guide.

Requirements

Install Python 2.7 on your computer.

Environment Variables

The demo is configured using the following environment variables:

  • CRAFT_DEMO_SAC_URL, the public URL of the web app
  • CRAFT_DEMO_SAC_WS_URL, the websocket URL of the web app
  • CRAFT_DEMO_SAC_PORT, the port to which the web app servers listens
  • CRAFT_DEMO_SAC_USER, the GitHub namespace hosting the GitHub project (either the GitHub username or the organization name to which the project belongs)
  • CRAFT_DEMO_SAC_PROJECT, the GitHub project containing the associated BT files
  • CRAFT_DEMO_SAC_VERSION, the version branch of the GitHub project
  • CRAFT_DEMO_SAC_ACTIONS_URL, the URL of the web app
  • CRAFT_DEMO_SAC_DEPLOYMENT_DIR, the path, in the runtime container, of the compiled BTs
  • CRAFT_DEMO_SAC_GOOGLE_CLIENT_ID, The SAC application ID
  • CRAFT_DEMO_SAC_GOOGLE_CLIENT_SECRET, The SAC application secret
  • CRAFT_DEMO_SAC_GOOGLE_CLIENT_ID, Google API client id
  • CRAFT_DEMO_SAC_GOOGLE_CLIENT_SECRET, Google API client secret
  • CRAFT_DEMO_SAC_GOOGLE_API_KEY, Google API key