The following instructions will walk you through installing all of the dependencies required for the Lollipod Control Panel.

 

Change the app settings in OS X

Go to System Preferences
Click on Security & Privacy
Click the lock to make changes
Allow apps downloaded from “Anywhere”

 

Download and install Google Chrome:

Go to https://www.google.com/chrome/browser/ and download Google Chrome
Open the .DMG file to install

 

Download and install NodeJS:

Go to http://nodejs.org/
Download the Mac OS X Installer (.pkg)
Note: The last version tested was node-v4.4.7.pkg
Open the .DMG file to install

 

Install Homebrew

Open Terminal.app and run the following command:

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

After this, you may be asked to install Command Line Tools.
If it does try to install Command Line Tools, accept the installation.
After Command Line Tools are done installing, run the above command again.

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

 

Install MongoDB

http://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/

Now that Homebrew is installed, you can run the following command to install MongoDB

brew install mongodb  

After it installs, run the following command to setup MongoDB to launch at startup:

ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents  

Also, run the following command to launch MongoDB Immediately

launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist  

 

Download “Lollipod Control Panel”

Download Lollipod Control Panel.zip

Unzip it

Move Lollipod Control Panel.app to your ~/Applications directory

alt

 

Install dependencies for the app

First, open Terminal.app and run the following command to navigate into the resources for the app.

cd /Applications/Lollipod\ Control\ Panel.app/Contents/Resources  

Next, run the following command to install the dependencies.

sudo npm install  

 

Setting up the correct USB device

This is probably the trickiest part.

First, make sure the Lollipod is plugged into the machine and powered on.

Next, open Terminal.app and run the following command

ls /dev/cu.usb*  

You should see two strings representing usbmodem devices pop up. It will look something like this:

/dev/cu.usbmodem00043081   /dev/cu.usbmodem00043083

Next, you need to copy one of those strings into the configuration file for the Lollipod Control Panel software. It will likely be the lesser of the two strings.

Run the following command in terminal to open up the Control Panel resources in Finder

open /Applications/Lollipod\ Control\ Panel.app/Contents/Resources  

Next, right click the config.js, hover over Open With, and select TextEdit.

alt

Next, replace the string under "devicePort" with one of the strings you saw in terminal earlier.

alt

Save the file.

You may need to try this with each of the two usbmodem device strings. If you get errors about the serialport when launching the app, an issue with the string being incorrect is likely the reason.

 

Setting up initial Sequences

If you have not restored previous sequences, and this is your first time running the app, you’ll need to visit this URL to set up the initial sequences

http://localhost:8080/?show=latest&count=3&create_new_collection=true

If you don’t do this, the first time you try to view sequences, it’ll get stuck on the “building UI” step

 

Backing up Sequences

Running the following command will backup the sequences on a machine running the Lollipod Control Panel

mongodump --out ~/Downloads/lollipod-db-backup  

There should now be a folder in your Downloads directory named lollipod-db-backup

 

Restoring Sequences

First, copy over the lollipod-db-backup directory that was created during the backup into the Downloads directory of the new machine.

Next, run the following command to restore the sequences from the previous backup:

mongorestore ~/Downloads/lollipod-db-backup  
mongorestore ~/Downloads/lollipod-db-backup  

 

Finished!

If you followed all of the steps above, you should now be able to plug in the Lollipod and launch the app.

The App will create a new window in chrome (you may have to reload the page)

alt