Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.51 KB

setup-instructions.md

File metadata and controls

43 lines (34 loc) · 1.51 KB

Setup Instructions

Database credentials

Change spring_user database password:

ALTER USER spring_user WITH PASSWORD '<new_password>';

Discord

  1. Create a new application on Discord Developer Portal.

    1. Bot settings.
      1. Add a bot and customise it.
      2. Save the authentication token.
    2. OAuth2 settings.
      1. Add a redirect at http://localhost:5000.
      2. Choose the newly added redirect URL in the OAuth2 URL Generator section.
      3. In scopes section, tick bot.
      4. In bot permissions section, tick Administrator, or choose more granular permissions.
      5. Copy the invitation URL from the bottom of the scopes section and navigate to it in the browser. Sign in to a relevant Discord account and add the bot to a server.
  2. Once the application's database has been provisioned, update the DISCORD_AUTH_TOKEN row to the authentication token.

    UPDATE CONFIG SET VALUE = '<auth_token>' WHERE NAME = 'DISCORD_AUTH_TOKEN';
    

GitHub Workflows

Add CONTAINER_REGISTRY_TOKEN secret to the repository to be able to sign into container registry. Read more on this in GitHub's documentation.