Skip to content
A service that matches community members for chats
TypeScript Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE added github issue templates Jun 27, 2019
cron V2.1 (#67) May 12, 2019
data Notify maintainers (#57) May 2, 2019
src Fallback fix (#88) Aug 12, 2019
.editorconfig added prettier and format script Jan 23, 2019
.env.example V2.1 (#67) May 12, 2019
.gitignore Trying to ship v2 (#9) Apr 15, 2019
.nvmrc
.prettierignore added notes to gitignore Jan 28, 2019
.travis.yml
CHANGELOG.md V2.1 (#67) May 12, 2019
CONTRIBUTORS.md
Dockerfile V2.1 (#67) May 12, 2019
LICENSE
README.md V2.1.2 (#71) May 12, 2019
jest.config.js V2.1 (#67) May 12, 2019
package-lock.json updated lodash Aug 10, 2019
package.json updated lodash Aug 10, 2019
tsconfig.json fixes tsconfig so it compiles crons as well Apr 29, 2019
tslint.json fixed up validator fn Mar 23, 2019

README.md

Coffee Chats 2.0

Build Status

Zulip bot that pairs Recursers for coffee chats

Commands and Documentation

For a full list of commands see the wiki page

Signing up

Just say hi directly to @chat-bot.

Installing

With Docker

Before you get started, make sure you have docker on your local machine and have the daemon running. You can do a docker info to check if you're connected to the daemon.

docker build -t coffee . // builds the image
// you can do `docker images` to check that the coffee image is there

docker run -p 8080:8081 coffee // runs the image second port num is the internal port

Previous Way (without Docker)

Before you get started, make sure you have:

  • a recent version of Node (10.x)
  • some version of SQLite3
  • Python 2.7 (any recent version)

The better-sqlite3 npm package requires Python 2 as a dependency. Python 3 will throw a syntax error. Things get even more complicated on Windows. Just make sure you can run Python 2.7 from the CLI.

The basic installation is what you'd expect: npm install.

After all of the npm packages have been installed, you'll want to create a .env file, probably by copying the example file

cp .env.example .env

You can configure it as you wish, but the default values should just work. The default database is data/development.db which is already configured in the .env file. To create it (since we're avoiding checking it in through our .gitignore), you just need to touch the file:

touch data/development.db

Once you've installed all the packages, copied the local environment file, and created the development database, you can run the tests to verify everything works:

npm test

and then start the server

npm run dev

Happy hacking!

You can’t perform that action at this time.