A Web App Companion for the SWRPG
- First you will need to have NodeJS installed on your machine. You can find the latest version here
- Click "Clone or Download" at the top of this page. Click "Download Zip" and extract the files.
- Next Create a firebase project for the WebApp here
- Click "Add Project"
- Name your project
- From the project console, click "Add Firebase to your web app"
- Copy
var config = {xxxxxxx};
(8 lines total) - Open src/config.js from from step 2 with a text editor program of your choice.
- Paste
var config = {xxxxxxx};
in space marked "Paste var config = {xxxxxxx}; here"
- In your local environment, open command line and navigate to folder from step 2
$ git update-index --skip-worktree src/config.js
$ npm install
$ npm install -g firebase-tools
$ npm run build
$ firebase login
$ firebase deploy
- terminal will give you a website to go to
$ npm start