DEV Community

Discussion on: The Ultimate Beginner’s Guide to Static Website Hosting With Google Firebase (for FREE)

Collapse
nijeesh4all profile image
Nijeesh Joshy • Edited on

Why would you want to initialize the project in windows32 ? isnt that a little bit dangerous considering that you are working on a terminal with admin privileges. Any accidental deletion or renaming will give trouble to your OS right ?

correct me if i am wrong.

Collapse
ajeet profile image
Ajeet Yadav Author

Hi Nijeesh,
Thank you for the feedback.
The several folders are present in my c drive by default. I don't think i can do anything about it 🤔

And I agree, we should not initialize a project in C drive. When i was trying to deploy the file for the first time, i followed the official firebase tutorial. And being a newbie myself, I just went with the flow. But when i tried to intilize a real project in another Drive, it never worked for me.
An hour ago, I found the reason for this. Here it is

stackoverflow.com/questions/445498...

I will add this detail and update the post .. Thank you so much for pointing this out

Collapse
nijeesh4all profile image
Nijeesh Joshy

There is no problem if you initialized the project in C-drive. in my notbook there is no other partition ( i haven't partitioned it ). So i put all my projects in the C-drive itself. i just organize everything based on the language or framework i use.

I was just wondering if there any reason you did it in windows32 directory specifically.

other than this, its a well explained article. good job.

Thread Thread
ajeet profile image
Ajeet Yadav Author • Edited on

What I did I opened a PowerShell as shown in the screenshot, ran the command and firebase created this public folder in windows32 automatically. I did not do anything except this. I would have to dig deeper for this.
Thank you for this question

Thread Thread
nijeesh4all profile image
Nijeesh Joshy

what i do is i create a folder where i want my code to live somewhere in my drive.

Then just right click the newly created folder while holding down shift and select open with power-shell in the righ-click's menu.

so it open power-shell in the project directory. then you can initialize Firebase or any other application you want there.

its just easier for me to do it this way than navigating my way through the fs from windows terminal.

open powershell in directory

Thread Thread
ajeet profile image
Ajeet Yadav Author

Awesome 👍 Thanks so much