|
a/setup-common.bash |
|
b/setup-common.bash |
|
... |
|
... |
6 |
#
|
6 |
#
|
7 |
|
7 |
|
8 |
echo '# installing base tools'
|
8 |
echo '# installing base tools'
|
9 |
sudo easy_install -U setuptools
|
9 |
sudo easy_install -U setuptools
|
10 |
|
10 |
|
|
|
11 |
echo
|
11 |
echo '# setting up a virtual environment'
|
12 |
echo '# setting up a virtual environment'
|
12 |
sudo easy_install -U virtualenv
|
13 |
sudo easy_install -U virtualenv
|
13 |
virtualenv --no-site-packages sandbox-env
|
14 |
virtualenv --no-site-packages sandbox-env
|
14 |
. sandbox-env/bin/activate
|
15 |
. sandbox-env/bin/activate
|
15 |
|
16 |
|
|
|
17 |
echo
|
16 |
echo '# installing turbogears'
|
18 |
echo '# installing turbogears'
|
17 |
easy_install ipython
|
19 |
easy_install ipython
|
18 |
easy_install -i http://www.turbogears.org/2.1/downloads/current/index tg.devtools
|
20 |
easy_install -i http://www.turbogears.org/2.1/downloads/current/index tg.devtools
|
19 |
|
21 |
|
20 |
#
|
22 |
#
|
21 |
# Install _our_ code.
|
23 |
# Install _our_ code.
|
22 |
#
|
24 |
#
|
|
|
25 |
echo
|
23 |
echo '# cloning forge repo'
|
26 |
echo '# cloning forge repo'
|
24 |
git clone ssh://engr.geek.net/forge
|
27 |
git clone ssh://engr.geek.net/forge
|
25 |
|
28 |
|
26 |
|
29 |
|
27 |
#
|
30 |
#
|
28 |
# Install all our (formal) dependencies.
|
31 |
# Install all our (formal) dependencies.
|
29 |
#
|
32 |
#
|
30 |
cd forge
|
33 |
cd forge
|
31 |
|
34 |
|
|
|
35 |
echo
|
32 |
echo '# installing pyforge dependencies'
|
36 |
echo '# installing pyforge dependencies'
|
33 |
python pyforge/setup.py develop
|
37 |
python pyforge/setup.py develop
|
34 |
|
38 |
|
|
|
39 |
echo
|
35 |
echo '# installing Ming dependencies'
|
40 |
echo '# installing Ming dependencies'
|
36 |
python Ming/setup.py develop
|
41 |
python Ming/setup.py develop
|
37 |
|
42 |
|
|
|
43 |
echo
|
38 |
echo '# installing HelloForge dependencies'
|
44 |
echo '# installing HelloForge dependencies'
|
39 |
python HelloForge/setup.py develop
|
45 |
python HelloForge/setup.py develop
|
40 |
|
46 |
|
41 |
|
47 |
|
42 |
# Start up the server?
|
48 |
# Start up the server?
|