A progressive web-application to assist the Western Australia Debating League with their seasonal organisation needs.
Look at the Nuxt 3 documentation to learn more.
Download 'env', pinned in discord wadl-backend channel. Rename to '.env' and place in root directory.
Alternatively:
- Create file '.env' in root directory, and copy content of '.env.example' into it
- Copy environment values from the cfc wadl-backend discord channel into their corresponding values in .env
- Set NUXT_PUBLIC_FIREBASE_MODE to "dev"
If you do not have access to wadl-backend, message an admin of the project.
Make sure to install the dependencies:
# yarn
yarn install
Start the development server on http://localhost:3000
yarn dev
Build the application for production:
yarn run build
Locally preview production build:
yarn run preview
Refer to the README located in the src/Firebase folder
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
Check out the deployment documentation for more information.