How To Contribute
Requirements
Node.js
Ensure that you have Node.js version 20 installed on your system. You can download it from Node.js official website.
Firebase CLI
To manage Firebase services and deploy to Firebase Hosting, you need to install the Firebase CLI. Run the following command to install the latest version of
firebase-tools
:
Java (OpenJDK)
Java is required for certain build processes. Follow the instructions below to install OpenJDK on your system.
[!TIP] Some members have successfully installed Java using this process: Installing Java
Environment Setup
Copy the contents of
.env.example
to.env
.Environment variables such as Discord and GitHub tokens will be granted only for frequent contributors. The application can work without these variables set, but capabilities will be limited.
Getting Started
Fork the repository by clicking the "Fork" button on the GitHub page.
Clone your forked repository:
Install dependencies:
Start the Firebase emulator:
Seed data to the local database, open a new terminal and run:
Run the development server:
Open http://localhost:3000 with your favorite browser to see your project.
Deploy to production
You can see the results locally in production mode with:
The generated HTML and CSS files are minified (built-in feature from Next js). It will also removed unused CSS from Tailwind CSS.
Now, the plataform is ready to be deployed. All generated files are located at build
folder, which you can deploy with any hosting service.
Deploy to Vercel
Deploy this project on Vercel in one click:
Installing Java
Mac
Install OpenJDK using Homebrew:
Add the following lines to your shell configuration file (
~/.zshrc
,~/.bashrc
, etc.) to set theJAVA_HOME
and update thePATH
:Reload your shell configuration:
Windows
Download and install Java from the official Oracle website. Make sure to choose the version suitable for your system.
Open Command Prompt and set the
JAVA_HOME
environment variable:Add Java to your
PATH
:Restart Visual Studio Code or your development environment.
Linux
Install OpenJDK using your package manager:
Add the following lines to your shell configuration file (
~/.bashrc
,~/.zshrc
, etc.) to set theJAVA_HOME
and update thePATH
:Reload your shell configuration:
Last updated