summaryrefslogtreecommitdiffstats
path: root/go/t/docker/dockertest/deploy
blob: f3c45277ae6a72f336e42f403ea14f9df54dd91f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
apt-get update
sudo apt-get update
sudo apt-get install -y python-software-properties python g++ make
sudo add-apt-repository -y ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get -y install nodejs redis-server
npm config set registry http://registry.npmjs.org/
cd /krebs/go
npm install
PORT=80 node .