Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
Cloud Datastore in 10 seconds
=============================

.. note::
This will use a **shared** dataset,
which means any data you save
will be available to anyone.
If you want to create your own dataset,
follow the
(pretty simple)
instructions in the
:doc:`datastore-getting-started`.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.


Install the library
-------------------
^^^^^^^^^^^^^^^^^^^

The source code for the library
(and demo code)
Expand All @@ -22,7 +12,7 @@ You can install the library quickly with ``pip``::
$ pip install gcloud

Run the demo
------------
^^^^^^^^^^^^

In order to run the demo, you need to have registred an actual ``gcloud``
project and so you'll need to provide some environment variables to facilitate
Expand Down Expand Up @@ -50,7 +40,7 @@ You just read and wrote a bunch of data
to the Cloud Datastore.

Try it yourself
---------------
^^^^^^^^^^^^^^^

You can interact with a demo dataset
in a Python interactive shell.
Expand Down Expand Up @@ -81,12 +71,4 @@ you can create entities and save them::
>>> dataset = datastore.get_dataset(
>>> demo.DATASET_ID, demo.CLIENT_EMAIL, demo.PRIVATE_KEY_PATH)

OK, that's it!
--------------

Next,
take a look at the :doc:`datastore-getting-started`
to see how to create your own project and dataset.

And you can always check out
the :doc:`datastore-api`.
----
32 changes: 32 additions & 0 deletions docs/_components/getting-started.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
The ``gcloud`` library is ``pip`` install-able:

.. code-block:: console

$ pip install gcloud

If you have trouble installing
``pycrypto`` or ``pyopenssl``
(and you're on Ubuntu),
you can try install the precompiled packages:

.. code-block:: console

$ sudo apt-get install python-crypto python-openssl

If you want to install everything with ``pip``,
try installing the ``dev`` packages beforehand:

.. code-block:: console

$ sudo apt-get install python-dev libssl-dev

If you want to install `gcloud-python` from source,
you can clone the repository from GitHub:

.. code-block:: console

$ git clone git://github.com/GoogleCloudPlatform/gcloud-python.git
$ cd gcloud-python
$ python setup.py install

----
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Cloud Storage in 10 seconds
===========================
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Install the library
-------------------
^^^^^^^^^^^^^^^^^^^

The source code for the library
(and demo code)
Expand All @@ -12,7 +12,7 @@ You can install the library quickly with ``pip``::
$ pip install gcloud

Run the demo
------------
^^^^^^^^^^^^

In order to run the demo, you need to have registred an actual ``gcloud``
project and so you'll need to provide some environment variables to facilitate
Expand Down Expand Up @@ -41,7 +41,7 @@ a demonstration of using ``gcloud.storage``
to read and write data to Google Cloud Storage.

Try it yourself
---------------
^^^^^^^^^^^^^^^

You can interact with a demo dataset
in a Python interactive shell.
Expand Down Expand Up @@ -79,8 +79,4 @@ you can create buckets and keys::
>>> connection = storage.get_connection(
>>> demo.PROJECT_NAME, demo.CLIENT_EMAIL, demo.PRIVATE_KEY_PATH)

OK, that's it!
--------------

And you can always check out
the :doc:`storage-api`.
----
Binary file removed docs/_static/bigquery-logo.png
Binary file not shown.
Binary file removed docs/_static/cloudplatform-horizontal.png
Binary file not shown.
Binary file removed docs/_static/cloudplatform.png
Binary file not shown.
Binary file removed docs/_static/cloudsql-logo.png
Binary file not shown.
Binary file removed docs/_static/compute-logo.png
Binary file not shown.
1 change: 1 addition & 0 deletions docs/_static/css/github.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading