Skip to content

HackerLoop/TSP-parse-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

TSP parse engine

Install

  1. Install dependencies$ npm install
  2. Launch MongoDB
  3. Seed regprocess collection (see below)
  4. Run program with defaults params (env vars) $ npm start

Launch

Live mode

Run on #hackerloop channel twich

$ CHANNEL=hackerloop CURRENT_SET=1 MONGODB_URL=mongodb://localhost:3001/meteor node main.js

Test mode

Find a channel on twich that have a big traffic and message

$ TESTMODE=true CHANNEL=imaqtpie CURRENT_SET=1 MONGODB_URL=mongodb://localhost:3001/meteor node main.js

Seed regprocess collection

db.regprocess.insert([
{
  "_id": ObjectId("59c3c180608b9f246b2302a1"),
  "regex": "^(w|s|d|a|j|k)$",
  "insensitive": true,
  "recursive": true,
  "type": "record",
  "storage": "record",
  "set": "1"
},

{
  "_id": ObjectId("59c3c18e608b9f246b2302a2"),
  "regex": "^(fart|prout)$",
  "insensitive": true,
  "recursive": true,
  "type": "vote",
  "storage": "vote",
  "set": "1"
}
])

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published