Skip to content

Instantly share code, notes, and snippets.

@joeyrobert
Forked from jayd3e/gist:6196323
Last active December 21, 2015 03:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joeyrobert/6245784 to your computer and use it in GitHub Desktop.
Save joeyrobert/6245784 to your computer and use it in GitHub Desktop.
Install instructions for a base Ubuntu box
On local machine:
sudo apt-get install python-dev python-pip python-setuptools ruby virtualbox build-essential nfs-common nfs-kernel-server
mkdir ~/Boxes
cd ~/Boxes
git clone git@github.com:clusterflunk/clusterstack.git
easy_install pip
pip install ansible
cp ~/.ssh/id_rsa.pub ~/Boxes/clusterstack/roles/common/files/.ssh/
cp ~/.ssh/id_rsa ~/Boxes/clusterstack/roles/common/files/.ssh/
cd ~/Boxes/clusterstack
wget http://files.vagrantup.com/packages/7ec0ee1d00a916f80b109a298bab08e391945243/vagrant_1.2.7_x86_64.deb
sudo dpkg -i vagrant_1.2.7_x86_64.deb
vagrant box add ubuntu-1204-server-32 http://files.vagrantup.com/precise32.box
mkdir ~/webapp
vagrant up
vagrant ssh
In VM:
cd /opt/webapp/clusterflunk/
. bin/activate
cd src
pip install -r requirements.txt
pip install -e .
git checkout decentralization
pip install -e /opt/webapp/clusterapp/
pip install -e /opt/webapp/clusterassets
pip install -e /opt/webapp/clusterapi/src
pserve development.ini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment