Note: I am a coding newbie.
I had a Divshot app that I now have to migrate to Firebase. It contains two HTML files, one stylesheet, and one local jpg file. There's no JavaScript. It's super basic. I know.
I have followed the CLI directions and done the tutorial for Firebase. (Unsure why I was building a random chat app.) I also tried the --help command and its suggestions.
The "firebase.json" file has been created in my app's directory, as has the folder labeled "public". I moved the html docs, stylesheet and jpg into the "public" folder since the CLI told me there must be at least one file in the public directory. Should it have been a zip file?
Then I tried again, and was told
"Public directory does not contain index.html"
even though it definitely does.
I also added the firebase script in the header of each html doc. Unsure if that was correct.
My app is all static, right? I just want my firebase URL to display the content of my HTML pages with the style rules in the stylesheet. How do I do this/what am I missing?
Some errors I got, in order:
Error: Must have at least one file in public directory to deploy.
(moved files into "public" directory)
Error: Not in a Firebase app directory (could not locate firebase.json)
(idk why, because it was there)
Error: Specified public directory does not exist, can't deploy hosting
(such a lie)