From 334b5236f3cda817d6dea1785c815cca5b7f5560 Mon Sep 17 00:00:00 2001 From: Rei Date: Wed, 13 Dec 2023 03:28:47 +0000 Subject: [PATCH] Deploy to Netlify as backup --- .gitignore | 3 +++ README.md | 5 +++-- package.json | 2 +- public/_redirects | 1 + 4 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 public/_redirects diff --git a/.gitignore b/.gitignore index 407472b..11ae7fa 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,6 @@ yarn-error.log* # Google Firebase Hosting Cache file .firebase/hosting.YnVpbGQ.cache + +# Local Netlify folder +.netlify diff --git a/README.md b/README.md index fe8aebe..251c10f 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,10 @@ This site is now complete and has been archived, this will no longer be maintain There is no search component even though the website documentation specifies it as a requirement as it is incompatible with the website setup. -This website can be viewed through two services: +This website can be viewed through these services: Google Firebase Hosting: https://rayyan-h-tafe-nsw-2.web.app/ & https://rayyan-h-tafe-nsw-2.firebaseapp.com/ -GitHub Pages: https://reiyua.github.io/RaysMovieClub/ +GitHub Pages (Seem's to not work due to not supporting React Router): https://reiyua.github.io/RaysMovieClub/ +Netlify (Seem's to not actually load anything): https://peppy-mochi-f9d893.netlify.app/ \ No newline at end of file diff --git a/package.json b/package.json index 1dd7cf0..9065d89 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ }, "scripts": { "predeploy": "npm run build", - "deploy": "gh-pages -d build", + "deploy": "gh-pages -d build", "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", diff --git a/public/_redirects b/public/_redirects new file mode 100644 index 0000000..50a4633 --- /dev/null +++ b/public/_redirects @@ -0,0 +1 @@ +/* /index.html 200 \ No newline at end of file