Skip to content
/ glue Public

svelte frontend & motoko backend for discord holder verification

Notifications You must be signed in to change notification settings

glue-org/glue

Repository files navigation

glue-logo-wide

development 👷‍♀️

prerequisites

  • dfx 0.10.0

  • node v18.0.2

  • src/frontend/constants.ts file with the following entries:

    • BACKEND_URL
      • provide the URL for both production and development backend
    • REDIRECT_URL
      • provide the URL to redirect users to log in to discord
        • make sure you have two different client_ids and redirect_uris for production and development if you use different discord bots

local deployment

  • run yarn install to install all dependencies
  • to start a local version of the replica and spin up the development server, run yarn dev.

deploying to mainnet

  • run dfx deploy --network ic to deploy the frontend and backend canisters to the mainnet

    ⚠️ when deploying to mainnet: make sure you delete the canister_ids.json file before deploying to mainnet!

About

svelte frontend & motoko backend for discord holder verification

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published