Skip to content

Show Machine Setup Procedures

piuggi edited this page Apr 30, 2014 · 19 revisions

Disable Screensaver

  • Go to System Preferences > Desktop & Screensaver
  • Click Screen Saver
  • Set Start After to Never

Set Desktop Backgrounds to Black

  • Go to System Preferences > Desktop & Screensaver
  • Click Desktop
  • Click Solid Colors
  • Click Custom Color
  • Select Black

You will need to do this for each monitor, so this is easiest accomplished in ARD!

Enable Automatic Login

  • Go to System Preferences > Users and Groups
  • Click Login Options
  • Make sure "NeighborhoodRoomServer" is selected in Automatic Login: dropdown

Disable Automatic Updates

  • Go to System Preferences > App Store
  • Uncheck "Automatically check for updates"

Disable Notifications

  • Go to System Preferences > Notifications
  • Drag every single Application "In Notification Center" to "Not In Notification Center"
  • To be extra safe, click on every application "Not In Notification Center" and set alert style to "None" and uncheck every box
  • RECHECK this every time you add a new application (ala ARD)

Enable Sharing

  • Go to System Preferences > Sharing
  • Check the boxes for "Screen Sharing," "File Sharing," "Remote Login", and "Remote Apple Events"
  • Check the box for "Remote Management." Check ALL boxes in the window that pops up EXCEPT "Show when being observered"

Remove Mission Control Defaults

  • Go to System Preferences > Mission Control
  • Uncheck ALL FIVE boxes
  • Set Mission Control, Application Windows, Show Desktop and Show Dashboard drop downs to "-"
  • Click Hot Corners
  • Make sure all four drop downs are set to "-"

Set Energy Saver Settings

  • Go to System Preferences > Energy Saver
  • Uncheck "Automatic graphics switching"
  • Set Computer sleep and Display sleep sliders to "Never"
  • Uncheck "Put hard drives to sleep when possible"
  • Check "Start up automatically after a power failure"

Disable Wifi

  • Go to System Preferences > Network
  • Click on Wifi in list at left
  • Click "Turn Wi-Fi Off"

Set IP Address

  • Go to System Preferences > Network
  • Click on Ethernet in list at left
  • Click Advanced
  • Set Configure IPv4 to "Manually"
  • Set IP Address to 10.1.30.20
  • Set Subnet Mask to 255.255.255.0
  • Set Router to 10.1.30.1
  • Click DNS Servers
  • Click plus, then add DNS address of 10.1.10.17
  • Click plus, then add DNS address of 10.1.10.18

Disable Bluetooth

  • Go to System Preferences > Bluetooth
  • Make sure Bluetooth is set to "Off", if not click "Turn Bluetooth Off"

Set Security Settings

  • Go to System Preferences > Security & Privacy
  • Click "General"
  • Uncheck ALL checkboxes
  • Set "Allow apps downloaded from:" to "Anywhere"
  • Click "Privacy"
  • Select Diagnostics and Usage from list at left
  • Make sure "Send diagnostic & usage data to Apple" is Unchecked

Disable CrashReport error window

Type into Terminal:

$ defaults write com.apple.CrashReporter DialogType none

##Install Xcode (v5.1)

  • Open App Store
  • Login using [email protected] account with password from credentials document
  • Go to "Purchases"
  • Download Xcode

##Install After Effects CC (v12.2.1.5)

  • Download Creative Cloud
  • Login using [email protected] with password from credentials document

##Install Homebrew Type into Terminal:

$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
$ brew doctor

##Download openFrameworks (v0.8.1)

  • OpenFrameworks
  • Open Terminal and provide the proper File Structure for the App Architecture
$ mkdir ~/oF
$ mv ~/Downloads/of_v0.8.1_osx_release ~/oF/081

##Install Node (v0.10.26) Type into Terminal:

brew install node 

##Install Git (v1.9.2) Type into Terminal:

$ brew install git

##Install FFmpeg (v2.2.1) Type into Terminal:

$ brew install ffmpeg

##Install MongoDB Type into Terminal:

$ brew install mongodb

##Setup MongoDB to run continuously

$ ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents
$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist

##Clone 30PP

  • Navigate to openframeworks app folder.
  • Type into Terminal:
$ git clone https://github.com/incredibleMachines/30PP.git
  • Copy in entire “ControllerApp/includes” folder (from external HD)
/aeprojects
/aescripts
/applescripts
/videos

##Install Node Packaged Modules Type into Terminal:

$ cd ControllerApp/
$ npm install

##Pull assets down from Dropbox

$ cp -R path/to/your/Dropbox\ \(Incredible\ Machines\)/30PP/AE_Architecture/Database/assets/ public/.assets/

##Remove existing database Open Terminal

$ mongo 30_PP

> db.dropDatabase()

##Restore dumped database

$ mongorestore

##Compile Application

  • Open PlayerApp project file and click Build.
  • Once this builds, quit the application by hitting Shift-Q

##Run node app ####Deprecated Step Do Not Use this on Show Machine only Use Steps below this In ControllerApp folder, type into Terminal:

$ node app.js

##Setup Machine to reboot and Launch Application Open Terminal:

$ [sudo] npm install forever -g
$ mkdir ~/.forever/logs
$ chmod +x ~/oF/081/apps/30PP/ControllerApp/startup/launch.sh
$ cp ~/oF/081/apps/30PP/ControllerApp/startup/com.30PP.LaunchControllerApp.plist ~/Library/LaunchAgents/
$ launchctl load ~/Library/LaunchAgents/com.30PP.LaunchControllerApp.plist

####One Important Caveat If the user name of the computer changes, then it must be updated in the LaunchControllerApp.plist follow these steps:

Open Terminal:

$ launchctl unload ~/Library/LaunchAgents/com.30PP.LaunchControllerApp.plist
$ rm ~/Library/LaunchAgents/com.30PP.LaunchControllerApp.plist
$ vim ~/oF/081/apps/30PP/ControllerApp/startup/com.30PP.LaunchControllerApp.plist
  • Hit I
  • Navigate to this line: <string>Users/NeighborhoodRoomServer/oF/081/apps/30PP/ControllerApp/startup/launch.sh</string>
  • Change NeighborhoodRoomServer to {your_new_username}
  • Hit ESC
  • Type :wq
  • You should be back in your normal terminal view now
$ cp ~/oF/081/apps/30PP/ControllerApp/startup/com.30PP.LaunchControllerApp.plist ~/Library/LaunchAgents/
$ launchctl load ~/Library/LaunchAgents/com.30PP.LaunchControllerApp.plist

##View Application Logs In Terminal:

$ tail -f ~/.forever/logs/30PPControllerApp.log

##Restart Forever & the ControllerApp In Terminal:

$ forever restartall

##Stop the ControllerApp In Terminal:

$ forever stopall

##Confirm Forever is Running ControllerApp In Terminal:

$ forever list

If Forever says:

info:    No forever processes running

Then ControllerApp is not running

Manually Start Up ControllerApp through Forever

In Terminal:

$ ~/oF/081/apps/ControllerApp/startup/launch.sh

Manually Start Up ControllerApp through Launchctl (Recommended)

In Terminal:

$ launchctl start com.30PP.LaunchControllerApp