|
a |
|
b/setup-common.bash |
|
|
1 |
#!/bin/bash
|
|
|
2 |
|
|
|
3 |
#
|
|
|
4 |
# Install everything (python) into a virtual environment.
|
|
|
5 |
# Maybe not important for sandboxes, but important locally.
|
|
|
6 |
#
|
|
|
7 |
|
|
|
8 |
sudo easy_install -U setuptools
|
|
|
9 |
sudo easy_install -U virtualenv
|
|
|
10 |
virtualenv --no-site-packages sandbox-env
|
|
|
11 |
. sandbox-env/bin/activate
|
|
|
12 |
|
|
|
13 |
easy_install ipython
|
|
|
14 |
easy_install -i http://www.turbogears.org/2.1/downloads/current/index tg.devtools
|
|
|
15 |
|
|
|
16 |
#
|
|
|
17 |
# Install _our_ code.
|
|
|
18 |
#
|
|
|
19 |
git clone ssh://engr.geek.net/forge
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
#
|
|
|
23 |
# Install all our (formal) dependencies.
|
|
|
24 |
#
|
|
|
25 |
cd forge/pyforge
|
|
|
26 |
python setup.py develop
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
# Start up the server?
|