From 365a8f39142abacf3d0d891035a388204ac39589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20Schmelczer?= Date: Sun, 20 Mar 2022 09:19:51 +0100 Subject: [PATCH] Add firebase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: AndrĂ¡s Schmelczer --- .firebaserc | 5 ++++ .gitignore | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 7 ++++++ firebase.json | 13 ++++++++++ 4 files changed, 93 insertions(+) create mode 100644 .firebaserc create mode 100644 .gitignore create mode 100644 README.md create mode 100644 firebase.json diff --git a/.firebaserc b/.firebaserc new file mode 100644 index 0000000..d585736 --- /dev/null +++ b/.firebaserc @@ -0,0 +1,5 @@ +{ + "projects": { + "default": "schmelczer-dev" + } +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b253460 --- /dev/null +++ b/.gitignore @@ -0,0 +1,68 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +firebase-debug.log* +firebase-debug.*.log* + +# Firebase cache +.firebase/ + +# Firebase config + +# Uncomment this if you'd like others to create their own Firebase project. +# For a team working on the same Firebase project(s), it is recommended to leave +# it commented so all members can deploy to the same project(s) in .firebaserc. +# .firebaserc + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env + +.DS_Store diff --git a/README.md b/README.md new file mode 100644 index 0000000..7e31230 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Fizika weboldal + +## Deploy + +```sh +firebase deploy --only hosting +``` diff --git a/firebase.json b/firebase.json new file mode 100644 index 0000000..be7e6b9 --- /dev/null +++ b/firebase.json @@ -0,0 +1,13 @@ +{ + "hosting": { + "public": ".", + "ignore": ["firebase.json", "**/.*", "**/node_modules/**"], + "site": "fizika-schmelczer-dev", + "rewrites": [ + { + "source": "**", + "destination": "/index.html" + } + ] + } +}