i hope this all works if not let me know
service-account.jsonfile with access to the Google Sheets API (let me know if you need access)CLIENT_SECRETvalue for Discord OAuth2 (let me know if you need this)- Your Discord username in the Registration Google Sheet (so you can log in)
- Install Firebase CLI
- Install Python 3.11 or higher
- Install Node.js
- Clone this repository
-
Create a Python virtual environment:
python -m venv functions/venv
-
Activate the virtual environment:
-
On Windows:
functions\venv\Scripts\activate
-
On macOS/Linux:
source functions/venv/bin/activate
-
-
Install the required Python packages:
pip install -r functions/requirements.txt
-
Install the required Node.js packages:
npm install
-
This isn't best practice but we're using a service account file to allow you to access the spreadsheet data locally. Let me know and I'll share the file with you. Place it in the root of the project as
service-account.json. -
You'll also need a file
functions/.env.localwith the following content:CLIENT_SECRET=<???>
Let me know and I'll share the client secret with you.
-
Run the backend emulator suite:
-
On Windows:
$env:GOOGLE_APPLICATION_CREDENTIALS="$PWD\service-account.json" firebase emulators:start --project=hackncsu-today
-
On macOS/Linux:
export GOOGLE_APPLICATION_CREDENTIALS="$PWD/service-account.json" firebase emulators:start --project=hackncsu-today
The emulator will ask you to configure some parameters. I set defaults for these so you can just hit enter to accept them.
-
-
Run the frontend:
npm run dev
-
Open your browser and navigate to
http://localhost:8080to see the application running locally.