Giter Site home page Giter Site logo

volvox-microsoft's Introduction

volvox-microsoft

Volvox Labs + Microsoft Timelapse Project

Below are instructions for setting up project machines from scratch.

##Camera Controller - Local Machine Setup On-site Linux machine, connected to 4 Canon DSLRs over USB-Ethernet extenders.

  • Install Ubuntu 14.04
    • via mountable ISO disk image
  • Update packages
    • $ sudo apt-get update
    • $ sudo apt-get upgrade
  • Install Git
    • $ sudo apt-get install git
  • Install Node v0.10.39 via nvm
    • $ sudo apt-get install build-essential libssl-dev
    • $ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.25.4/install.sh | sh
    • $ source ~/.profile
    • $ nvm install 0.10.39 #crucial for gphoto2
    • $ nvm use 0.10.39
    • $ nvm alias default 0.10.39
    • $ nvm use default
    • $ node -v // check that install worked
  • Install gphoto2
    • $ sudo apt-get install libgphoto2-2-dev
  • Clone repo (first $ cd to correct folder)
    • $ git clone https://github.com/jmsaavedra/volvox-microsoft.git
  • Install package modules
    • $ npm install
  • AuthKeys.js
    • manually copy AuthKeys.js into the root folder (this is shared privately)
  • Install PM2
    • $ $ npm install pm2 -g
    • $ $ pm2 startup #follow directions if there is a reply from pm2!
    • $ $ pm2 start startup.json #run the app with pm2 startup script
    • $ $ pm2 save #save this process to the startup scripts
    • $ $ pm2 logs #tail console logs

##Video Processor - Azure Virtual Machine Setup This is an Ubunutu 14.04 Linux Virtual Machine, that processes all uploaded videos nightly, uploads to Vimeo, and reports to the a server db for display in the public gallery site.

  • Update packages
    • $ sudo apt-get update
    • $ sudo apt-get upgrade
  • Install Git
    • $ sudo apt-get git
  • Install Node v0.10.39 via NVM
    • $ sudo apt-get install build-essential libssl-dev
    • $ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.25.4/install.sh | sh
    • $ source ~/.profile
    • $ nvm install 0.10.39 #video processor has run on 0.12.x in the past
    • $ nvm use 0.10.39
    • $ nvm alias default 0.10.39
    • $ nvm use default
    • $ node -v // check that install worked
  • Install ffmpeg
  • Install graphicsmagick + ghostscript
    • $ sudo apt-get install graphicsmagick
    • $ sudo apt-get install ghostscript
  • Clone repo, install packages
    • $ git clone https://github.com/jmsaavedra/volvox-microsoft.git
    • $ npm install
  • AuthKeys.js
    • manually copy AuthKeys.js into the root folder of repo (this is shared privately)
  • Set local time zone of server
    • Linux (ref):
    • $ date // show date
    • $ more /etc/timezone #show timezone file
    • $ sudo dpkg-reconfigure tzdata #run timezone config
    • if using cron, restart it:
      • $ /etc/init.d/cron stop
      • $ /etc/init.d/cron start
  • Install PM2
    • $ $ npm install pm2 -g
    • $ $ pm2 startup #follow directions if there is a reply from pm2!
    • $ $ pm2 start startup.json #run the app with pm2 startup script
    • $ $ pm2 save #save this process to the startup scripts
    • $ $ pm2 logs #tail console logs

volvox-microsoft's People

Contributors

jmsaavedra avatar palaa159 avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar  avatar

volvox-microsoft's Issues

videoProcessApp typo

silly chalk typo in processApp

FAILED DAILY VIDEO PROCESS: { [Error: The specified container does not exist.
RequestId:228bcfca-0001-0136-746b-b7c3fa000000
Time:2015-07-05T21:39:51.5216807Z]
  code: 'ContainerNotFound',
  statusCode: 404,
  requestId: '228bcfca-0001-0136-746b-b7c3fa000000' }

TypeError: Object #<Chalk> has no method 'yello'
    at /home/elbulli/volvox-microsoft/videoProcessApp/app.js:128:88
    at /home/elbulli/volvox-microsoft/videoProcessApp/app/manager.js:29:20
    at /home/elbulli/volvox-microsoft/videoProcessApp/app/manager.js:53:4
    at /home/elbulli/volvox-microsoft/videoProcessApp/app/azureFiler.js:33:7
    at finalCallback (/home/elbulli/volvox-microsoft/videoProcessApp/node_modules/azure-storage/lib/services/blob/blobservice.js:4570:7)
    at /home/elbulli/volvox-microsoft/videoProcessApp/node_modules/azure-storage/lib/common/services/storageserviceclient.js:820:11
    at processResponseCallback (/home/elbulli/volvox-microsoft/videoProcessApp/node_modules/azure-storage/lib/services/blob/blobservice.js:4573:5)
    at Request.processResponseCallback [as _callback] (/home/elbulli/volvox-microsoft/videoProcessApp/node_modules/azure-storage/lib/common/services/storageserviceclient.js:287:13)
    at Request.self.callback (/home/elbulli/volvox-microsoft/videoProcessApp/node_modules/azure-storage/node_modules/request/request.js:354:22)
    at Request.EventEmitter.emit (events.js:98:17)

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.