this guide assumes you have all of the following applications installed: node.js, git
- Clone the repo to a local directory on your machine.
- Open git bash
- Navigate to the directory you want to store the repo (I use C:\Development)
- Enter the following command:
git clone https://github.com/thedudesinc/DiscordRPGBot.Client.git
- You may need to enter your credentials to Github in the popup for this to work.
- Navigate to the newly created directory and install the NPM packages.
- In the git bash you were just using, run the following command:
cd DiscordRPGBot.Client
- Then:
npm install
- Then:
npm install -g nodemon
- Once the packages are installed,
you'll need to add the Discord API key as an environment variable
using the following command in CMD or Powershell:
setx SECRET_DISCORD_TOKEN "<message me for token>"
After first time setup, run the following command in git bash to start the application (note you need to be in the root of the project):
nodemon index.js