g0v/g0ver-box

Name: g0ver-box

Owner: g0v

Description: g0v ?????????

Created: 2016-10-05 14:29:00.0

Updated: 2017-11-06 04:30:03.0

Pushed: 2017-11-25 04:08:07.0

Homepage:

Size: 165

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

g0ver-box

A macthmaking slack-bot for g0v projects and g0v attendees. Tell bot the skills you have or issues you like. Bot would match attendees and projects.

How to use
Environment Variables
Dependencies
Yarn supported

We suggest you to use yarn to manage package.

Setup developing environment

We recommended you using postgres docker as your database.

er run -p 54320:5432 --name g0v-postgres -e POSTGRES_PASSWORD='' -e POSTGRES_DB='g0vhub' -d postgres
Configure database hostname

If you were using docker-machine/virtual machine please edit host in knexfile.js.

: <DOCKER_MACHINE_HOST>,
Migrate DB Schema

Please run this command when database started up.

 migrate

or

run migrate
Start your own g0ver
K_TOKEN='xoxb-123456789012-xxxxxxXXXxxxXXXXXXXXXxxx' yarn start

or

K_TOKEN='xoxb-123456789012-xxxxxxXXXxxxXXXXXXXXXxxx' npm start
Test

Run all unit-tests

 test

or

test

Run the test related to files

 test-watch

or

test-watch

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.