Update docs for TS build. Closes #7

This commit is contained in:
Charlie Laabs
2020-01-11 20:50:53 -06:00
parent 6135ea72b8
commit 48f17cebb9

View File

@@ -39,6 +39,8 @@ First, create a [Discord bot application](https://discordapp.com/developers/appl
npm install --global --production windows-build-tools npm install --global --production windows-build-tools
# NPM install non-development packages # NPM install non-development packages
npm install --production npm install --production
# Build the Typescript
npm run build
``` ```
1. Create a file called `config.json` in the project directory with the contents: 1. Create a file called `config.json` in the project directory with the contents:
@@ -102,6 +104,9 @@ npm install --production
sudo apt-get install python -y sudo apt-get install python -y
sudo apt-get install build-essential -y sudo apt-get install build-essential -y
# Build the Typescript
npm run build
# Start the program # Start the program
npm start npm start
``` ```