codersforcauses / wadl

A web-application to assist the Western Australian Debating League with their seasonal organisational needs. Documentation: (https://codersforcauses.github.io/wadl/)
https://wadl.vercel.app/
MIT License
8 stars 5 forks source link

Western Australian Debating League

A progressive web-application to assist the Western Australia Debating League with their seasonal organisation needs.

Nuxt 3 Minimal Starter

Look at the Nuxt 3 documentation to learn more.

Setup

Local .env file

Download 'env', pinned in discord wadl-backend channel. Rename to '.env' and place in root directory.
Alternatively:

Local Server setup

Make sure to install the dependencies:

# yarn
yarn install

Development Server

Start the development server on http://localhost:3000

yarn dev

Production

Build the application for production:

yarn run build

Locally preview production build:

yarn run preview

Firebase Setup

Refer to the README located in the src/Firebase folder

Using Docker

Run

yarn dev:docker

Open another terminal and run

docker exec -it wadl_firebase /bin/bash

to go into the container

Once inside the container, run (make sure you have an account with Firebase and is granted permission for the project before doing this)

firebase login

and follow the link to authenticate your account

Finally, run

firebase emulators:start --import=dummyData

inside the container

More info

Check out the deployment documentation for more information.