Files
deb-python-oauth2client/samples/prediction/setup.sh
Joe Gregorio 11690e0e3b Update Python Sample for Prediction v1.4
Reviewed in http://codereview.appspot.com/5252054/.

Index: samples/prediction/client_secrets.json
===================================================================
new file mode 100644
2011-10-14 11:05:35 -04:00

18 lines
490 B
Bash
Executable File

#!/bin/bash
#
# Copyright 2011 Google Inc. All Rights Reserved.
# Author: jcgregorio@google.com (Joe Gregorio)
#
# Uploads a training data set to Google Storage to be used by this sample
# application.
#
# Usage:
# setup.sh file_name bucket/object
#
# Requirements:
# gsutil - a client application for interacting with Google Storage. It
# can be downloaded from https://code.google.com/apis/storage/docs/gsutil.html
FILE_NAME=$1
OBJECT_NAME=$2
gsutil cp $FILE_NAME gs://$OBJECT_NAME