diff --git a/README.md b/README.md index 5b46e1168114703430a9c3baa60753c64508e208..d255d361dcfa3e977ec92e22df9978a25d60d906 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,20 @@ # Covid Crossfire +**Firebase Setup** + +This is the basic Firebase setup: https://firebase.google.com/docs/web/setup + +Below is the specific setup for our game: +1) Sign into Firebase using your Google Account +2) In the Firebase console click "Add project" and follow the instructions +3) Next open your firebase project and open settings +4) At the bottom of the general tab there is an option to add apps to your project +5) Select web app and register your app +6) When it tells you to add Firebase SDK open the env.json file in the game directory +7) Replace the contents of the env.json with the firebaseConfig variable +8) Move the env.json to the parent directory of the game +9) Now your game is ready to be locally run + **Locally Run the Game** 1) Clone repository/download zip 1) Install Node.js: https://nodejs.org/en/ @@ -15,18 +30,4 @@ * Shooting: Left click * Interact/Pickup: F - -**Firebase Setup** - -This is the basic Firebase setup: https://firebase.google.com/docs/web/setup - -Below is the specific setup for our game: -1) Sign into Firebase using your Google Account -2) In the Firebase console click "Add project" and follow the instructions -3) Next open your firebase project and open settings -4) At the bottom of the general tab there is an option to add apps to your project -5) Select web app and register your app -6) When it tells you to add Firebase SDK open the env.json file in the game directory -7) Replace the contents of the env.json with the firebaseConfig variable -8) Move the env.json to the parent directory of the game -9) Now your game is ready to be locally run \ No newline at end of file + \ No newline at end of file