forked from 3on/stack-python-postgresql
-
Notifications
You must be signed in to change notification settings - Fork 2
/
getplone.sh
18 lines (17 loc) · 790 Bytes
/
getplone.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/bash
# we have buildout based on settings in requirements.txt
buildout init
#wget http://dl.dropbox.com/u/1004432/plone.cfg -O buildout.cfg
mkdir -p /home/dotcloud/data
# get eggs previously compiled for python2.7 on a dotcloud machine
if [ ! -f /home/dotcloud/data/eggs.tgz ];
then
echo "Downloading egg bundle"
wget http://plone-egg-packages.googlecode.com/files/eggs-dec062012.tgz -O /home/dotcloud/data/eggs.tgz
cd /home/dotcloud/data
tar xfz eggs.tgz
fi
cd /home/dotcloud/current
python mkbuildout.py
buildout
cat adminPassword.txt