Skip to content

docs: update the README instructions for running Spanner samples #1266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Next Next commit
Updating README to run the python samples
  • Loading branch information
aakashanandg committed Dec 12, 2024
commit 4fbca83a7e861bbc9bfbd1ef1cb475064710cfbc
6 changes: 5 additions & 1 deletion samples/samples/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,17 @@ Install Dependencies

.. code-block:: bash

$ git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git
$ git clone https://github.com/googleapis/python-spanner.git

#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Change to the desired source directory
.. code-block:: bash
$ cd ~/python-spanner/samples/samples

#. Create a virtualenv. Samples are compatible with Python 3.6+.

.. code-block:: bash
Expand Down