Skip to content

MeetMangrove/mangrove-pairing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mangrove Pairing (deprecated)

This repository is no longer maintain anymore, see Familybot

<---------->

Automatically pair people based on the skills they can teach and those they want to learn.

Usages

Generate a pairing

$ npm run pair

Will fetch the data from Airtable for all people's interests and skills, generate pairings for them and save it to Airtable.

You can set the tables used in Airtable via environment variables:

AIRTABLE_APPLICANTS="P2PL Applicants"
AIRTABLE_PAIRING="Pairings"

Run the bot

In local for development:

$ npm run start

Lint code:

$ npm run lint

Fix lint errors:

$ npm run fix

Building:

$ npm run build

Running in production mode after building:

$ npm run serve

Heroku dynos:

$ npm run web