Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e1f535f749
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (26 sloc) 0.787 kb
#!/bin/sh
# install stuff to build node
apt-get install build-essential libssl-dev python libssl-dev curl;
# download and compile node
cd /tmp
wget "http://nodejs.org/dist/node-v0.2.5.tar.gz"
tar xzvf node-v0.2.5.tar.gz
cd node-v0.2.5
./configure
make
make install
# install npm (node package manager)
curl http://npmjs.org/install.sh | sh
# install blogode
mkdir /var/
cd /var/
wget "http://download.github.com/pedrofranceschi-Blogode-e3992af.zip"
unzip pedrofranceschi-Blogode-*.zip
rm *.zip
mv pedrofranceschi-Blogode-* blogode/
cd blogode
# install all dependencies
npm install ejs express faye step mysql forever
# sets the default start script for blogode
echo "#!/bin/sh\ncd /var/blogode/ && forever start blogode.js" > /usr/bin/start_blogode
chmod +x /usr/bin/start_blogode
Jump to Line
Something went wrong with that request. Please try again.