Just a simple Discord bot for playing around. The primary purpose of this software is to help me learn the best practices for contemporary JavaScript development. This leads into the fact that this simple bot is heavily over-engineered.
The aim of this software is to only require Docker as a dependency, but npm
is used for some scripts on the host (see package.json
). In case you want to run this software outside Docker, you will need at least Node v7.6.0 or use Babel in order to support the async/await
keywords.
docker-compose up
You have to have PostgreSQL running. Assign environment variables accordingly. Hopefully the code doesn't have hardcoded variables when you are reading this. Sorry. Then:
npm install
npm start
npm run initdb