Skip to content

Commit b3cc150

Browse files
authored
Update README.md
1 parent 60b3b6e commit b3cc150

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This is based on the **Django Rest Framework** application that implements the all necessary logic to work with **GSC** (**Google Cloud Storage**), **Redis**, **Celery** and **PostgreSQL**.
77
It does provide ONLY Django Rest Framework UI, so please follow the docs to see available URLS.
8-
Due to the prevention of the credentials, I hope you not gonna spam my test bucket :)
8+
I hope you not gonna spam my bucket :)
99

1010
## Table of contents
1111
* [Technologies Used](#technologies-used)
@@ -69,6 +69,12 @@ ADVANCED API DOCS
6969
<p align="right">(<a href="#top">back to top</a>)</p>
7070

7171
## How To Set Up Locally
72+
> First of all, you need to:
73+
> - Create a **bucket in GCS <a href="https://console.cloud.google.com/storage/create-bucket">link </a>**, with the name of your desire.
74+
> - Create **IAM Policy <a href="https://console.cloud.google.com/iam-admin/serviceaccounts"> link </a>**, GENERATE A KEY and download *.json file with the credentials.
75+
> - PUT YOUR CREDENTIALS TO THE SOURCE OF THIS PROJECT AND CHANGE THE NAME TO "private-credentials.json"
76+
77+
7278
The easiest approach is to run docker-compose. It should work without any problems.
7379
The docker-compose approach is based on google cloud storage. If you have the desire to save locally
7480
the images and thumbnails please, visit <a href="https://github.com/fortyfortyy/ImageUploadApi/pull/6"> this PR </a> and see the changes.

0 commit comments

Comments
 (0)