forked from devstructure/blueprint
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap.sh
More file actions
24 lines (19 loc) · 688 Bytes
/
bootstrap.sh
File metadata and controls
24 lines (19 loc) · 688 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
if [ ! -f "$HOME/production.pem" ]
then
echo "Paste the contents of ~/production.pem here and press ^D:" >&2
cat >"$HOME/production.pem"
chmod 600 "$HOME/production.pem"
fi
sudo apt-get -q update
sudo apt-get -q -y install \
"build-essential" \
"git-core" \
"python" "python-dev" "python-pip" "python-setuptools" \
"ruby" "ruby-dev" "rubygems" \
sudo gem install --no-rdoc --no-ri "fpm"
sudo pip install boto flask gunicorn nose nose_cov
mkdir -p "$HOME/work"
cd "$HOME/work"
[ -d "blueprint" ] || git clone "git://github.com/devstructure/blueprint.git"
(cd "blueprint" && git submodule update --init)
[ -d "ronn" ] || git clone "git://github.com/rcrowley/ronn.git" -b "dots"