Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Latest commit

 

History

History
executable file
·
72 lines (55 loc) · 3.06 KB

deploy_developer.md

File metadata and controls

executable file
·
72 lines (55 loc) · 3.06 KB

Deploying For Development

The development deployment is intended for a basic command line only deployment of Starthinker ideal for testing and creating recipes. Each developer should have a unigue Google Cloud project to fully utilize StarThinker out of the box. StarThinker is fully extensible.

Command Line Deploy

The Cloud Shell will do the following steps for you:

git clone https://github.com/google/starthinker
cd starthinker

For updating or installing run the following:

bash install/deploy.sh
  1. Set up Google Cloud Project.
  2. Option 1) Developer Menu
  3. Option 1) Install Developer StarThinker using Desktop Client Credentials
  4. Option 9) Quit
  5. Then run a recipe using:
source starthinker_assets/development.sh
python starthinker/tool/recipe.py scripts/say_hello.json -u $STARTHINKER_USER -s $STARTHINKER_SERVICE -p $STARTHINKER_PROJECT -c $STARTHINKER_CLIENT --verbose
  • The -u and -s flags denote user credentials and service credentials path, only required for recipes that use them.
  • The -p is the cloud billing project to use, not every recipe requires it.
  • The -c flag is for client authentication if the -u file does not exist yet, it is ignored otherwise and can be left off.

Try It In Google Cloud Shell

Next, learn how to create a recipe or look at the cheat sheet of commands.

UI For Development Deploy

git clone https://github.com/google/starthinker
cd starthinker
bash install/deploy.sh
  1. Option 1) Developer Menu
  2. Option 2) Deploy Development UI
  1. Follow on screen instructions for how to access the UI via browser.

Try It In Google Cloud Shell

Next, learn how to create a recipe or look at the cheat sheet of commands.

Cloud Resources


© 2019 Google Inc. - Apache License, Version 2.0