-
dfx 0.10.0 -
node v18.0.2 -
src/frontend/constants.tsfile 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 andredirect_uris for production and development if you use different discord bots
- make sure you have two different
- provide the URL to redirect users to log in to discord
- BACKEND_URL
- run
yarn installto install all dependencies - to start a local version of the replica and spin up the development server, run
yarn dev.
- run
dfx deploy --network icto deploy the frontend and backend canisters to the mainnet⚠️ when deploying to mainnet: make sure you delete thecanister_ids.jsonfile before deploying to mainnet!
