From 07ad1716f8b51edd16edb579b281f4a41858da6f Mon Sep 17 00:00:00 2001 From: TymanWasTaken Date: Tue, 25 May 2021 13:20:06 -0600 Subject: Delete setup.md --- setup.md | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 setup.md diff --git a/setup.md b/setup.md deleted file mode 100644 index 782c204..0000000 --- a/setup.md +++ /dev/null @@ -1,19 +0,0 @@ -# How to set up - -1. Clone the bot (if you haven't already) -2. Run `yarn` to make sure dependencies are all set up -3. Copy `src/config/example-options.ts` to `src/config/options.ts` and change all the options to what you need - -### Database - -1. Make sure to have a postgresql db running on something you can access (postgres supports all OSes) -2. Make sure you have a db with the correct name (for dev it is `bush-bot-dev`, for non-dev it is `bush-bot`) - -Sequelize will handle tables for you, no need to do anything besides make the db - -### Start - -In production, use `yarn start` to start the bot. -In dev, use `yarn dev` to start the bot. - -The difference is the typescript compiler it uses. `yarn start` uses esbuild, which is speedy af but doesn't actually check code for errrors. `yarn dev` uses tsc which is slower but checks for errors. -- cgit