Oyah is a Super Smash Bros. Melee website, it includes everything from news to tutorials.
Visit oyah.xyz to see it.
- Node.js = 6.14.0 You can install it from Node.js' website
- Yarn You can install it from Yarn's website
- Git You can install it from Git's website
After installing the prerequests:
-
Create a Firebase project here.
-
Create the config files (
src/functions/config.ts
andsrc/app/config.ts
). Use the associated example files ending with.example
to make them in the correct format.Put in info from your Firebase project or generate your own (for the cookie's secret).
-
Download the
serviceAccountKey.json
from Firebase. To get it:- Go to the Firebase console
- Choose your project
- Click on the wheel located near the Project Overview button, under the Firebase logo on the left side of the screen.
- Click on
Project settings
. - Go to the
Service accounts
tab. - Click on the
Generate new private key
.
-
Put that file in
src/functions
. -
Download the
firebase-tools
usingyarn global add firebase-tools
. -
Login to Firebase using
firebase login
. -
Add your Firebase project using
firebase use --add
.- Choose your project from the list.
- Name it
default
.
After finishing the installation and configuration use yarn next-dev
and a development version of the site will run.
It is without the server so custom routes and cookies won't work.
If you have any issues or features that you want to add, open an issue here.
Licensed under the MIT License