Skip to content

Commit e8f79f8

Browse files
committed
readme fixes
1 parent 6c252b3 commit e8f79f8

File tree

1 file changed

+19
-18
lines changed
  • container_registry/container_analysis

1 file changed

+19
-18
lines changed

container_registry/container_analysis/README.md

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,36 +18,37 @@ retrieve additional metadata for their customers' images, such as packages insta
1818
These samples show how to use the [Google Cloud Container Analysis Client Library](https://cloud.google.com/container-registry/docs/reference/libraries).
1919

2020
## Build and Run
21-
1. **Enable APIs** - [Enable the Container Analysis API](https://console.cloud.google.com/flows/enableapi?apiid=containeranalysis.googleapis.com)
21+
1. **Enable APIs**
22+
- [Enable the Container Analysis API](https://console.cloud.google.com/flows/enableapi?apiid=containeranalysis.googleapis.com)
2223
and create a new project or select an existing project.
2324
1. **Install and Initialize Cloud SDK**
24-
Follow instructions from the available [quickstarts](https://cloud.google.com/sdk/docs/quickstarts)
25+
- Follow instructions from the available [quickstarts](https://cloud.google.com/sdk/docs/quickstarts)
2526
1. **Clone the repo** and cd into this directory
2627

27-
```
28-
$ git clone https://github.com/GoogleCloudPlatform/python-docs-samples
29-
$ cd python-docs-samples/container-registry/container-analysis
30-
```
28+
```
29+
git clone https://github.com/GoogleCloudPlatform/python-docs-samples
30+
cd python-docs-samples/container_registry/container_analysis
31+
```
3132
3233
1. **Install Dependencies**
3334
34-
```
35-
$ python3 -m venv ./venv
36-
$ source ./venv/bin/activate
37-
$ pip install -r requirements.txt
38-
```
35+
```
36+
python3 -m venv ./venv
37+
source ./venv/bin/activate
38+
pip install -r requirements.txt
39+
```
3940
4041
1. **Set Environment Variables**
4142
42-
```
43-
$ export GOOGLE_CLOUD_PROJECT="YOUR_PROJECT_ID"
44-
```
43+
```
44+
export GCLOUD_PROJECT="YOUR_PROJECT_ID"
45+
```
4546
46-
1. **Run Tiests**
47+
1. **Run Tests**
4748
48-
```
49-
$ python -m pytest ./samples_test.py
50-
```
49+
```
50+
python -m pytest ./samples_test.py
51+
```
5152
5253
## Contributing changes
5354

0 commit comments

Comments
 (0)