Skip to content

Commit 71cf8d1

Browse files
committed
gcloud skin for docs
1 parent 572b864 commit 71cf8d1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+3895
-3649
lines changed
File renamed without changes.
Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
11
Cloud Datastore in 10 seconds
2-
=============================
3-
4-
.. note::
5-
This will use a **shared** dataset,
6-
which means any data you save
7-
will be available to anyone.
8-
If you want to create your own dataset,
9-
follow the
10-
(pretty simple)
11-
instructions in the
12-
:doc:`datastore-getting-started`.
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
133

144
Install the library
15-
-------------------
5+
^^^^^^^^^^^^^^^^^^^
166

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

2414
Run the demo
25-
------------
15+
^^^^^^^^^^^^
2616

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

5242
Try it yourself
53-
---------------
43+
^^^^^^^^^^^^^^^
5444

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

84-
OK, that's it!
85-
--------------
86-
87-
Next,
88-
take a look at the :doc:`datastore-getting-started`
89-
to see how to create your own project and dataset.
90-
91-
And you can always check out
92-
the :doc:`datastore-api`.
74+
----
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
The ``gcloud`` library is ``pip`` install-able:
2+
3+
.. code-block:: console
4+
5+
$ pip install gcloud
6+
7+
If you have trouble installing
8+
``pycrypto`` or ``pyopenssl``
9+
(and you're on Ubuntu),
10+
you can try install the precompiled packages:
11+
12+
.. code-block:: console
13+
14+
$ sudo apt-get install python-crypto python-openssl
15+
16+
If you want to install everything with ``pip``,
17+
try installing the ``dev`` packages beforehand:
18+
19+
.. code-block:: console
20+
21+
$ sudo apt-get install python-dev libssl-dev
22+
23+
If you want to install `gcloud-python` from source,
24+
you can clone the repository from GitHub:
25+
26+
.. code-block:: console
27+
28+
$ git clone git://github.com/GoogleCloudPlatform/gcloud-python.git
29+
$ cd gcloud-python
30+
$ python setup.py install
31+
32+
----
File renamed without changes.
Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Cloud Storage in 10 seconds
2-
===========================
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
33

44
Install the library
5-
-------------------
5+
^^^^^^^^^^^^^^^^^^^
66

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

1414
Run the demo
15-
------------
15+
^^^^^^^^^^^^
1616

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

4343
Try it yourself
44-
---------------
44+
^^^^^^^^^^^^^^^
4545

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

82-
OK, that's it!
83-
--------------
84-
85-
And you can always check out
86-
the :doc:`storage-api`.
82+
----

docs/_static/bigquery-logo.png

-13.6 KB
Binary file not shown.
-52.4 KB
Binary file not shown.

docs/_static/cloudplatform.png

-40.2 KB
Binary file not shown.

docs/_static/cloudsql-logo.png

-10.9 KB
Binary file not shown.

docs/_static/compute-logo.png

-11.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)