Parent: [ccc717] (diff)

Child: [27bbd2] (diff)

Download this file

setup-common.bash    50 lines (37 with data), 929 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/bash
#
# Install everything (python) into a virtual environment.
# Maybe not important for sandboxes, but important locally.
#
echo '# installing base tools'
sudo easy_install -U setuptools
echo
echo '# setting up a virtual environment'
sudo easy_install -U virtualenv
virtualenv --no-site-packages sandbox-env
. sandbox-env/bin/activate
echo
echo '# installing turbogears'
easy_install ipython
easy_install -i http://www.turbogears.org/2.1/downloads/current/index tg.devtools
easy_install beautifulsoup
#
# Install _our_ code.
#
echo
echo '# cloning forge repo'
git clone ssh://engr.geek.net/forge
#
# Install all our (formal) dependencies.
#
cd forge
echo
echo '# installing pyforge dependencies'
python pyforge/setup.py develop
echo
echo '# installing Ming dependencies'
python Ming/setup.py develop
echo
echo '# installing HelloForge dependencies'
python HelloForge/setup.py develop
# Start up the server?