Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. # STEP BY STEP GUIDE
  2. *This is a 2 step process. First you need to know how to upload your file onto your firebase store, and second you need to know how to access that file from your static page*
  3.  
  4. ## PREREQUISITES:
  5. * You need to have a project created on firebase for your web app: If you don't know how to do that, look at the "Configuring Firebase For Vanilla Web Apps" gist, in my gists.
  6. * While you don't need your project to be configured on your app for this section, I would highly recommend it, since you're going to use it for pretty much anything else you want to do with firebase. If you want to learn how to configure it, look for the same gist listed in the step above.
  7. * You need to register your app to your firebase project. You'll find all this information in the same gist.
  8.  
  9.  
  10. ## Step 1 - Uploading your file unto firebase store
  11. - Go to your console
  12. - Select your target project
  13. - Go to storage
  14. - Create a new folder
  15. - Click on your new folder
  16. - Click on the "Upload a file" button
  17.  
  18. ## Step 2 - Accessing your file from your web app
  19. - Go to the folder where you stored your files, and click on the file of your choice
  20. - In the file metadata on the right, click on the "File Location" section
  21. - Click on the "Download URL 1" url, and this will automatically copy it
  22. - Paste the URL anywhere you want the image to display
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement