Install some dependencies before getting started:
- Run
npm install
- Install a standalone Redis server
- Mac: Run
brew install redis
- Mac: Run
- Install a standalone PostgreSQL server
- Mac: Run
brew install postgres
- Mac: Run
- Start the local Redis server
- Mac: Run
redis-server
- Mac: Run
- Start the local PostgreSQL server
- Mac: Run
PGDATA=/usr/local/var/postgres postgres
- Mac: Run
- Create the testing database:
createdb discord_test
- Run
npm test