diff --git a/final/.gitignore b/final/.gitignore deleted file mode 100644 index d61146e..0000000 --- a/final/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -.DS_Store -node_modules -firebase.json -.firebaserc diff --git a/public/.firebaserc b/public/.firebaserc new file mode 100644 index 0000000..19d3b4d --- /dev/null +++ b/public/.firebaserc @@ -0,0 +1,5 @@ +{ + "projects": { + "default": "quizgen-final" + } +} diff --git a/final/public/.gitignore b/public/.gitignore similarity index 100% rename from final/public/.gitignore rename to public/.gitignore diff --git a/final/public/firebase.js b/public/firebase.js similarity index 100% rename from final/public/firebase.js rename to public/firebase.js diff --git a/public/firebase.json b/public/firebase.json new file mode 100644 index 0000000..4335fd1 --- /dev/null +++ b/public/firebase.json @@ -0,0 +1,20 @@ +{ + "firestore": { + "rules": "firestore.rules", + "indexes": "firestore.indexes.json" + }, + "hosting": { + "public": "public", + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ], + "rewrites": [ + { + "source": "**", + "destination": "/index.html" + } + ] + } +} diff --git a/final/public/firestore.indexes.json b/public/firestore.indexes.json similarity index 100% rename from final/public/firestore.indexes.json rename to public/firestore.indexes.json diff --git a/final/public/firestore.rules b/public/firestore.rules similarity index 100% rename from final/public/firestore.rules rename to public/firestore.rules diff --git a/final/public/img/quizgen.svg b/public/img/quizgen.svg similarity index 100% rename from final/public/img/quizgen.svg rename to public/img/quizgen.svg diff --git a/final/public/img/quizgen2.svg b/public/img/quizgen2.svg similarity index 100% rename from final/public/img/quizgen2.svg rename to public/img/quizgen2.svg diff --git a/final/public/img/tut1.png b/public/img/tut1.png similarity index 100% rename from final/public/img/tut1.png rename to public/img/tut1.png diff --git a/final/public/img/tut2.png b/public/img/tut2.png similarity index 100% rename from final/public/img/tut2.png rename to public/img/tut2.png diff --git a/final/public/img/tut3.png b/public/img/tut3.png similarity index 100% rename from final/public/img/tut3.png rename to public/img/tut3.png diff --git a/final/public/index.html b/public/index.html similarity index 100% rename from final/public/index.html rename to public/index.html diff --git a/final/public/index.js b/public/index.js similarity index 100% rename from final/public/index.js rename to public/index.js diff --git a/final/public/main.js b/public/main.js similarity index 100% rename from final/public/main.js rename to public/main.js diff --git a/final/public/public/index.html b/public/public/index.html similarity index 100% rename from final/public/public/index.html rename to public/public/index.html diff --git a/final/public/style.css b/public/style.css similarity index 100% rename from final/public/style.css rename to public/style.css diff --git a/final/public/utils.js b/public/utils.js similarity index 100% rename from final/public/utils.js rename to public/utils.js