You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
6
6
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**.
7
7
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 :)
9
9
10
10
## Table of contents
11
11
*[Technologies Used](#technologies-used)
@@ -69,6 +69,12 @@ ADVANCED API DOCS
69
69
<palign="right">(<ahref="#top">back to top</a>)</p>
70
70
71
71
## How To Set Up Locally
72
+
> First of all, you need to:
73
+
> - Create a **bucket in GCS <ahref="https://console.cloud.google.com/storage/create-bucket">link </a>**, with the name of your desire.
74
+
> - Create **IAM Policy <ahref="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
+
72
78
The easiest approach is to run docker-compose. It should work without any problems.
73
79
The docker-compose approach is based on google cloud storage. If you have the desire to save locally
74
80
the images and thumbnails please, visit <ahref="https://github.com/fortyfortyy/ImageUploadApi/pull/6"> this PR </a> and see the changes.
0 commit comments