-
Notifications
You must be signed in to change notification settings - Fork 1
Installing on Ubuntu 12.04 from scratch
The recent changes in Node broke some of the features Wwidd was relying on, mostly related to path management. The following steps walk you through a clean manual install of Wwidd on Ubuntu.
Make sure you have the following installed:
-
sqlite3 (
sudo apt-get install sqlite3
) -
git (
sudo apt-get install git
) -
g++ (a clean Ubuntu 12.04 had no g++ which is required for compiling node,
sudo apt-get install g++
) - VLC (from the official VLC site)
Unfortunately the Node binaries that are available through the aptitude package manager are too old (0.6.x), so you'll have to get the source yourself and compile. Fortunately it's quite simple.
cd ~
mkdir Projects
cd ~/Projects
git clone https://github.com/joyent/node
cd node
git checkout v0.8.8
./configure
make
This could take a while. When ready,
sudo make install
You might have to restart your terminal for node to be recognized. When you did that, check by issuing node -v
, which should return v0.8.8
.
Cloning Wwidd from GitHub is just as simple.
cd ~/Projects
git clone http://github.com/wwidd/wwidd
cd wwidd
git checkout stable
Verified for Ubuntu 12.10:
- Create folder:
~/Projects/wwidd/server/src/node_modules/
- Download Wwidd046Ubu.zip file: Directly link or through the wwidd website
- Extract from zip file:
Wwidd/common/flock/
folder to~/Projects/wwidd/common
- Extract from zip file:
Wwidd/common/flock/flock-0.1.3.js
file into~/Projects/wwidd/server/src/node_modules/
- Extract from zip file:
Wwidd/client/www/jorder/
folder to~/Projects/wwidd/client/www/
- Extract from zip file:
Wwidd/client/www/jquery/
folder to~/Projects/wwidd/client/www/
Issue:
./start.sh
or ./start.sh debug
This should open Wwidd in the default browser, with an empty default video library.