Coder Social home page Coder Social logo

grad's Introduction

Following steps are used to install the python for the Assignment 1. (Please install python 2.7.x not 3.4.X)
1. Install python 2.7.X, you can download python from https://www.python.org/downloads/
2. Get pip for the python 2.7.X, follow the instructions on https://pip.pypa.io/en/latest/installing.html to get pip.
3. Using pip you can install the required packages (pip install <module>)

To get started with Google Cloud follow the below steps:
1. Install the python client library for the google cloud, you can do this using the following command 
   pip install --upgrade google-api-python-client
   For more instructions follow the link https://developers.google.com/api-client-library/python/start/installation

2. Create an account at https://cloud.google.com/
3. Click on FreeTrail and fill the required details, click on accept and start free trail.
4. Click on create a project, give a project name and then click create. There are two cloud storage APIs XML API and JSON API.
   The guidelines provided here are for the JSON API. You can play with XML API as well if you wish to.
5. In the sidebar on the left click APIs & auth and then click on the Enabled APIs tab and make sure to see Google Cloud Storage JSON API is added 
   in there.  If you do not see it in there, select the API from the list of APIs, then select the Enable API button for the API.
6. In the side bar on the left click credentials. Click on the Create new client ID. Select installed application radio button and then click on
   configure consent screen. Enter a product name and then click on save.
7. You get a pop up again, click on installed application, installed application type - other. Click on Create Client ID.
8. You can see Clent ID and secret are created and you can click on Download JSON which downloads a JSON file (which you need it later).
9. On the left panel, click on storage -> cloud storage -> Storage Browser.
10. Click on create Bucket button. (Read here for info. about buckets and objects - https://cloud.google.com/storage/docs/overview )
11. Give the Bucket name and click on create, which creates a bucket to store your objects. Go ahead and create few objects or folders and play with it.

For more reading about JSON API - https://cloud.google.com/storage/docs/json_api/

This is all you need to get started with your assignment. Now your environment and account is set up, you can go ahead and write the code for the Assignment1.

grad's People

Contributors

kamuju avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.