The project has many moving parts, and thus has a large amount of setup involved.
In order to run the project, you will need:
- A Google Forms form
- A backend server
- A Discord Bot
- The ability to write App Scripts to the Form
Before we can deploy the app, we must set up all of the services, as noted above.
To set up the Google Form, head to this page and select the "Contact Information" template.
Add all of the required fields, in order:
- Project creator / author
- Project name
- Project description
- Project source (with optional regex validation)
- Project languages / technologies
- Other links
Next, add the Apps Script integration
TODO: add details about how to add the Apps Script integration
First, create a Discord Application here.
Next, enable the Bot section of the application and copy the token into the backend config.
After that, invite it to your server by going to the OAuth2 section, and then the URL Generator subsection. Select the bot
and applications.commands
scopes and give the bot the following permissions:
TODO: add global bot permissions
Finally, click the generated link and invite the bot to your server.
TODO: add details about what permissions the bot needs in the channels
The backend server operates to collect incoming submissions, handle voting and persist submission state.
The choice of backend hosting is up to the end user, though you must provide a Prisma compatible DB (our implementation uses PostgreSQL), and the ability to run Node.js with an HTTP webserver.
After getting a backend host, configure it following the .env.example
file and start the webserver.