To run the dashboard locally, you'll need a local version of WolfStar running.
After forking/cloning this repo to a folder locally:
- Duplicate
.env.development
and rename it to.env.development.local
- Replace the value of
NEXT_PUBLIC_CLIENT_ID
to your bot's ID - Go to the Discord developer portal: https://discord.com/developers/applications/
- Select your bot application and go to the
OAuth2
tab - Add redirect URL's for
http://localhost:3000/oauth/callback
andhttp://localhost:3000/oauth/guild
- Run a local instance of WolfStar, be sure to follow it's local development guidelines as well.
- You have to set the CLIENT_ID, CLIENT_SECRET in WolfStar's configuration to your own bot properly!
- Install dependencies with
yarn
. - Run
yarn dev
to start the NextJS dev server
WolfStar links
Please make sure to read the Contributing Guide before making a pull request.
Thank you to all the people who already contributed to WolfStar Project!