Giter VIP home page Giter VIP logo

brewcore's Introduction

BrewCore

Codeship Status for brewfactory/BrewCore

SparkCore edition of the Brewberry homebrew solution.

DEMO: http://brewcore-demo.herokuapp.com

Read more about the project here.

What is this?

SparkCore powered BIAB brewing system. Brew your own beer.

  • You can set and schedule the temperature steps
  • Collect logs from your brew into a MongoDB
  • Visualize your previous brew logs
  • iOS client what you can find here BrewMobile

The front-end:

Brew scheduler

Logs

Used technologies

  • Node.js (with KOA and SocketIO)
  • React
  • MongoDB
  • Isomorphic

This project uses: https://github.com/brewfactory/BrewUI

The SparkCore side

You need to flash your SparkCore with the spark-core-pid-temperature firmware.

You can use it with a mocked device in the following way:

MOCK=spark npm start

Install

Prerequisites

  • Node.js >= v0.11.0 (install with NVM)

Setting up the project

Installing dependencies from NPM:

npm install

Running the project

This project requires least v0.11.0 version of the Node.

npm start

or

node --harmony app.js

you can mock the SparkCore the following way:

MOCK=spark npm start

// TODO

  • cover with tests
  • flash SparkCore from this code
  • authentication

brewcore's People

Contributors

hekike avatar vasarhelyia 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

brewcore's Issues

SyntaxError: Unexpected token *

When starting app.js a unexpected token appears:

node --harmony app.js

/volume1/public/Troep/BC/BrewCore/app.js:93
app.use(function *() {
^
SyntaxError: Unexpected token *
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3

npm ERR! [email protected] start: node --harmony app.js
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is most likely a problem with the BrewCore package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node --harmony app.js
npm ERR! You can get their info via:
npm ERR! npm owner ls BrewCore
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 2.6.32.12
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! cwd /volume1/public/Troep/BC/BrewCore
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /volume1/public/Troep/BC/BrewCore/npm-debug.log
npm ERR! not ok code 0

database setup

Where is the database config located?
i got it to run on my nas after massive changes to the nas, but im having authentication problems.
error: find: DB error log-router name=MongoError, message=not authorized for query on brew.brews, $err=not authorized for query on brew.brews, code=13

bower ESUDO Cannot be run with sudo

Hi,

I'm trying to install this package, but it is failing at the [email protected] postinstall script.

During npm install i receive this error:

[root@srv01 BrewCore]# npm install

[email protected] install /home/nodejs/BrewCore/node_modules/brew-ui/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws
(node-gyp rebuild 2> builderror.log) || (exit 0)

make: Entering directory /home/nodejs/BrewCore/node_modules/brew-ui/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o make: Leaving directory/home/nodejs/BrewCore/node_modules/brew-ui/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build'

[email protected] postinstall /home/nodejs/BrewCore/node_modules/brew-ui
bower install

bower ESUDO Cannot be run with sudo

Additional error details:
Since bower is a user command, there is no need to execute it with superuser permissions.
If you're having permission errors when using bower without sudo, please spend a few minutes learning more about how your system should work and make any necessary repairs.

http://www.joyent.com/blog/installing-node-and-npm
https://gist.github.com/isaacs/579814

You can however run a command with sudo using --allow-root option

npm ERR! Linux 2.6.32-042stab092.3
npm ERR! argv "/root/.nvm/v0.11.14/bin/node" "/root/.nvm/v0.11.14/bin/npm" "install"
npm ERR! node v0.11.14
npm ERR! npm v2.0.0
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: bower install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is most likely a problem with the brew-ui package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! bower install
npm ERR! You can get their info via:
npm ERR! npm owner ls brew-ui
npm ERR! There is likely additional logging output above.

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.