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: image-sharp/README.md
+7-6
Original file line number
Diff line number
Diff line change
@@ -23,12 +23,13 @@ The function triggers on upload of any file to your Firebase project's default C
23
23
24
24
To deploy and test the sample:
25
25
26
-
- Create a Firebase project on the [Firebase Console](https://console.firebase.google.com) and visit the **Storage** tab.
27
-
- Get the code, for instance using `git clone https://github.com/firebase/functions-samples`
28
-
- Enter the correct directory `cd functions-samples/image-sharp`
29
-
- Setup the CLI to use your Firebase project using `firebase use --add` and select your Firebase project
30
-
- Deploy your project's code using `firebase deploy`
31
-
- Go to the Firebase Console **Storage** tab and upload an image. After a short time a thumbnail image with the same name but a `thumb_` prefix will be created in the same folder (make sure you refresh the UI to see the new file).
26
+
1. Create a Firebase project on the [Firebase Console](https://console.firebase.google.com).
27
+
1. Get the code, for instance using `git clone https://github.com/firebase/functions-samples`
28
+
1. Enter the correct directory `cd functions-samples/image-sharp`
29
+
1. If you do not have it yet, install the Firebase CLI `npm install -g firebase-tools`
30
+
1. Setup the CLI to use your Firebase project using `firebase use --add` and select your Firebase project
31
+
1. Deploy your project's code using `firebase deploy`
32
+
1. Go to the Firebase Console **Storage** tab and upload an image. After a short time a thumbnail image with the same name but a `thumb_` prefix will be created in the same folder (make sure you refresh the UI to see the new file).
0 commit comments