Coder Social home page Coder Social logo

barmixvah's People

Contributors

amittel avatar ytham avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

barmixvah's Issues

BarMixvah does not run on Ubuntu 18 and Raspbian Stretch

Hey,
i just wanted to install Bar Mixvah and did the following steps, but the application does not run.

`
mkdir -p /data/db
apt-get install mongodb-server
service mongodb start
cd /opt
git clone https://github.com/ytham/barmixvah.git
cd barmixvah

#install yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
apt-get update
apt-get install yarn

yarn install
apt-get update
install yarn #updates yarn

yarn add node-gyp bson express expressjs johnny-five serialport

#bson path adjustments:
vim /opt/barmixvah/node_modules/mongodb/node_modules/bson/ext/index.js
#change from bson = require('../build/Release/bson'); to bson = require('bson');

mongoimport --db barmixvah --collection drinks --file drinks.json

node app.js --debug #start server
`

After installation i can start the application:
grafik

When accessing the web server on port 192.168.1.66:3000 it will load infinitely. The node.js server does not throw any error. If i access http://192.168.1.66:3000/index.js then some error occures
grafik

I already tried to comment out the part with the pumps/controller but there was no difference.

Do you have an idea how to fix? I guess it's a dependency problem with some module. I also had to use yarn instead of npm because this failed many times.

regards, Mario

MongoError

When trying to add a drink in barmixvah i get an error of '{“error”:{“name”:”MongoError”}}' please can you help?

inporting stl-files

Hi,

I've got some issues when I import the STL-files to my simplify3D software.
On each file the software said that the model is out of dimentions.

Do you've got an Idea how this could happens?

npm dependencies are checked into the project

Just for getting things off the ground I was running into this issue after cloning the repository

15:24:16-myusername~/mywebprojects/barmixvah (master)$ git clone https://github.com/ytham/barmixvah.git
15:24:16-myusername~/mywebprojects/barmixvah (master)$ cd barmixvah
15:24:16-myusername~/mywebprojects/barmixvah (master)$ npm start

> [email protected] start /Users/myusername/mywebprojects/barmixvah
> node ./bin/www

Failed to load c++ bson extension, using pure JS version
It looks like serialport didn't compile properly. This is a common problem and its fix is well documented here https://github.com/voodootikigod/node-serialport#to-install

/Users/myusername/mywebprojects/barmixvah/node_modules/johnny-five/node_modules/firmata/lib/firmata.js:29
    throw "Missing serialport dependency";
    ^
Missing serialport dependency

npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v4.1.0
npm ERR! npm  v2.14.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `node ./bin/www`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script 'node ./bin/www'.
npm ERR! This is most likely a problem with the BarMixvah package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./bin/www
npm ERR! You can get their info via:
npm ERR!     npm owner ls BarMixvah
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/myusername/mywebprojects/barmixvah/npm-debug.log

A solution I found here (shout out to David) was to $ npm install johnny-five

This totally worked and now after npm start I'm seeing this

15:31:41-myusername~/mywebprojects/barmixvah (master)$ npm start

> [email protected] start /Users/myusername/mywebprojects/barmixvah
> node ./bin/www

Failed to load c++ bson extension, using pure JS version
   info  - socket.io started
   warn  - error raised: Error: listen EADDRINUSE 0.0.0.0:3000
1456777907629 Board Looking for connected device  

woot

Unless you really want those /node_modules checked in at those set versions, I think the best thing to do here is to add /node_modules to a top level .gitignore and add $ npm install to the starting steps in the documentation.

This will cut down on the overall size of the repository and allow for users to get off the ground with ease

Let me know what you think

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.