Changeset - 9be85c08a69f
[Not reviewed]
default
0 2 0
Drew Perttula - 8 years ago 2017-05-28 08:50:56
drewp@bigasterisk.com
fix bower and npm builds
Ignore-this: 1867ee8b2ba4b883c89a7f6bd5ab446a
2 files changed with 12 insertions and 4 deletions:
0 comments (0 inline, 0 general)
makefile
Show inline comments
 
@@ -70,16 +70,23 @@ bin/ascoltami2: gst_packages link_to_sys
 
gst_packages:
 
	sudo aptitude install python-gi gir1.2-gst-plugins-base-1.0 libgirepository-1.0-1 gir1.2-gstreamer-1.0 gstreamer1.0-tools gstreamer1.0-plugins-good gstreamer1.0-pulseaudio python-gst0.10 python-gst-1.0 python-pygoocanvas gir1.2-goocanvas-2.0
 

	
 
packages:
 
	sudo aptitude install coffeescript normalize-audio audacity python-pygame libffi-dev tix libzmq3-dev python-dev libssl-dev python-opencv python-cairo
 

	
 
bower:
 
	cd light9/web/lib; bower install
 
	cd light9/web/lib/N3.js; npm install; npm run browser
 
	cd light9/web/lib/d3; npm install
 

	
 
node_modules/bower/bin/bower:
 
	npm install
 

	
 
bin/node:
 
	ln -sf `which nodejs` bin/node
 

	
 
bower: node_modules/bower/bin/bower bin/node
 
	cd light9/web/lib; nodejs ../../../node_modules/bower/bin/bower install
 
	cd light9/web/lib/N3.js; npm install; PATH=../../../../bin:$(PATH) npm run browser
 
	cd light9/web/lib/d3; PATH=../../../../bin:$(PATH) npm install
 

	
 
raspberry_pi_packages:
 
	sudo apt-get install python-picamera python-dev python-twisted python-virtualenv
 

	
 
raspberry_pi_virtualenv:
 
	mkdir -p env_pi
package.json
Show inline comments
 
@@ -4,12 +4,13 @@
 
  "description": "Mini instructions:",
 
  "main": "index.js",
 
  "directories": {
 
    "test": "test"
 
  },
 
  "dependencies": {
 
    "bower": "^1.8.0",
 
    "chai": "^3.5.0",
 
    "mocha": "^2.5.3"
 
  },
 
  "devDependencies": {
 
    "mocha": "^2.5.3"
 
  },
0 comments (0 inline, 0 general)