aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/SETUP.md
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-06-19 16:43:37 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-06-19 16:43:37 -0400
commitea64ebfff9aae32deb036643422d3427959dcd24 (patch)
tree5ab83558642bad282515837424637070f547a05e /.github/workflows/SETUP.md
parentd055e0dbb86ef7fd4ee96a1531b51181e825fb4b (diff)
downloadtanzanite-ea64ebfff9aae32deb036643422d3427959dcd24.tar.gz
tanzanite-ea64ebfff9aae32deb036643422d3427959dcd24.tar.bz2
tanzanite-ea64ebfff9aae32deb036643422d3427959dcd24.zip
feat(*): A bunch of stuff
- Remade logging - updated dependencies - started adding custom crap to the command handler - added emojis to stuff - can't remeber other stuff Note: this is currently broken BREAKING CHANGE:
Diffstat (limited to '.github/workflows/SETUP.md')
-rw-r--r--.github/workflows/SETUP.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/SETUP.md b/.github/workflows/SETUP.md
new file mode 100644
index 0000000..751cfde
--- /dev/null
+++ b/.github/workflows/SETUP.md
@@ -0,0 +1,19 @@
+# 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.