Skip to content

nooitaf/nurdbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NurdBar

Barsystem build in Meteor and NodeJS

Overview

Server
  • nurdbar-server
  • MongoDB
Client/Bar
  • nurdbar-cli

Server install:

Dependencies: meteor, mongodb

note: you could also deploy your meteor app as a nodejs app. In that case you would not need meteor, but nodejs and npm. You could also make use of meteors build in mongodb and skip the mongodb install, but running mongo externaly is recommended :P

git clone https://github.com/nooitaf/nurdbar
cd nurdbar/nurdbar-meteor
cp settings.json.example settings.json

Edit settings.json:

{
  "server": "irc.oftc.net", 
  "channels": [
    "#nurdbottest"
  ], 
  "nickname": "nurbarbot", 
  "realname": "nurbarbot"
}

Start the server

  • option 1, using meteors build-in mongodb
# run this once to install npm packages
meteor npm i
# to start the server
meteor --settings settings.json 
  • option 2, using your own mongodb
export MONGO_URL=mongodb://localhost:27017/myapp; meteor --settings settings.json

Client install:

Dependencies: nodejs, npm

git clone https://github.com/nooitaf/nurdbar
cd nurdbar/nurdbar-cli
npm install
cp settings.json.example settings.json

Edit settings.json and set your scanner serialport and server ip

{
  "serialport": "/dev/ttySCAN",
  "server": "10.208.10.15"
}

Start the bar

node main.js

About

NURDspace Barsystem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •