Open up a terminal and run gcloud init
After you're authenticated, the SDK will ask you to pick the project you want to work on
You'll next be asked to pick a region, for this kinda project it doesn't matter where you pick so go with whatever is close to you.
Finally, you're configured!
Fork/clone the https://github.com/petewarden/open-speech-recording/ repository to your local computer, and go to that directory in your terminal
Edit your local copy of app.yaml in the repo, change the cloud storage bucket to match the name you made earlier. For session secret key generate a random hex string. It's used to authenticate the session, and has nothing to do with the bucket authentication.
Edit static/scripts/app.js and find the wantedWords and fillerWords arrays and change them to whatever words you want to prompt for
Finally, run pip install -t lib -r requirements.txt
Before you upload up to GCP you can run the project locally! Run dev_appserver.py from within the project folder
Due to my kinda messed up Python2/3 setup, I had to manually run dev_appserver.py but either way, install the components
Install the extensions as prompted, and if necessary, rerun the appserver script, and permit Python2 access to the network
Open up a browser and visit http://localhost:8080/ to see the server setup, you should have an instance running
From the directory, in terminal, run gcloud app deploy. The first time you run it you'll be asked to setup the region
Select your local region
Type Y to continue the deployment!
Finally, visit the URL in question or just type gcloud app browse
After you use the open recording app, visit the output bucket you made, you should see many ogg files one for each utterance