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.
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
- Set up Google Cloud Project.
- Option 1) Developer Menu
- Option 1) Install Developer StarThinker using Desktop Client Credentials
- Option 9) Quit
- 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.
Next, learn how to create a recipe or look at the cheat sheet of commands.
git clone https://github.com/google/starthinker
cd starthinker
bash install/deploy.sh
- Option 1) Developer Menu
- Option 2) Deploy Development UI
- You may be asked for a Cloud Project ID ( use the ID, not the Name, not the Number )
- You may be asked for Service Credentials.
- You will be asked for Web Client Credentials.
- Follow on screen instructions for how to access the UI via browser.
Next, learn how to create a recipe or look at the cheat sheet of commands.
- Google Cloud Credentials - where you manage your credentials.
- Google Cloud Billing - examine costs in real time.
© 2019 Google Inc. - Apache License, Version 2.0