Skip to content

grese/js-piano

Repository files navigation

js-piano

A JavaScript piano & recording console.

Install:

  1. Install NodeJS (sudo apt-get install nodejs)
  2. Make NodeJS package be available via node command: sudo ln -s /usr/bin/nodejs /usr/bin/node
  3. Install NPM (sudo apt-get install npm)
  4. Install git (sudo apt-get install git)
  5. Install Grunt & Bower: sudo npm install -g grunt-cli bower
  6. Install FFMPeg (sudo apt-add-repository ppa:jon-severinsson/ffmpeg; sudo apt-get update; sudo apt-get install ffmpeg;)
  7. Install MongoDB (sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10; echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list; sudo apt-get update; sudo apt-get install -y mongodb-org; )
  8. Checkout Project from Git: git clone [this repo]
  9. cd js-piano
  10. npm install
  11. bower install
  12. Update build/tasks/server.coffee to use port 8080 instead of 8000.
  13. Forward port 8080 to 80 (sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to 8080)
  14. grunt default server:release