Wednesday 1 February 2012

Installing WebStorm on Ubuntu

Get Webstorm (its worth it)

then ... 

Install Java JDK 1.6+ first (see full http://superuser.com/questions/353983/how-do-i-install-the-sun-java-sdk-in-ubuntu-11-10-oneric )

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin
You may want to also add the following
sudo update-alternatives --config java
You should get the following
  Selection    Path                                      Priority   Status
------------------------------------------------------------
* 0            /usr/lib/jvm/java-6-openjdk/jre/bin/java   1061      auto mode
  1            /usr/lib/jvm/java-6-openjdk/jre/bin/java   1061      manual mode
  2            /usr/lib/jvm/java-6-sun/jre/bin/java       63        manual mode

Press enter to keep the current choice[*], or type selection number: 2
Select (2) and press enter
Now running:
java -version
Returns:
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)

How-to setup M-Project and Espresso with Node.js on Ubuntu

git clone https://github.com/mwaylabs/Espresso.git
cd
git submodule update --init 



alias espresso='~/Espresso/bin/espresso.js'

(check version is => 1.0.0.0)
espresso version   


(init it with some example files)


cd devroot

espresso init --project=Nodey2 --example 


(spin up the m-project via the espresso server)
cd ~/devroot/Nodey2
espresso server

..calling the cloud9 ide
~/cloud9/support/node-builds-v4/node-linux32 ~/cloud9/n/cloud9.js -w ~/devroot/Nodey2 -l 192.168.1.12 -p 3101 -a x-www-browser 

interesting sample.. useful to get the first couple of pages going

get a theme going with ThemeRoller