Created
April 24, 2013 07:01
-
-
Save jonatw/5450169 to your computer and use it in GitHub Desktop.
install instruction for nodejs, compoundjs framework on debian/ubuntu linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install instruction for nodejs, compoundjs framework on debian/ubuntu linux | |
apt-get update | |
apt-get install curl vim git-core | |
curl https://raw.github.com/creationix/nvm/master/install.sh | sh | |
# append the following two lines into ~/.bashrc, e.g. /root/.bashrc | |
# [[ -s /root/.nvm/nvm.sh ]] && . /root/.nvm/nvm.sh # This loads NVM | |
# [[ -r $NVM_DIR/bash_completion ]] && . $NVM_DIR/bash_completion | |
# re-login console | |
# goto http://nodejs.org/ and see the latest version number | |
nvm install v0.10.5 | |
nvm use v0.10.5 | |
npm install compound -g | |
# see the tutorial and play with compoundjs https://github.com/1602/compound | |
compound init blog && cd blog | |
npm install | |
compound generate crud post title content published:boolean | |
compound s 3000 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment