Revision 8c30fb1a
Added some scripts for working with virtualenv and running the server
env/create-env | ||
---|---|---|
1 |
#!/bin/bash |
|
2 |
|
|
3 |
if [ -d ~/.env/tooltron ]; then |
|
4 |
echo ~/.env/tooltron already exists';' just running update. |
|
5 |
else |
|
6 |
mkdir -p ~/.env |
|
7 |
virtualenv ~/.env/tooltron |
|
8 |
fi |
|
9 |
|
|
10 |
cd "$(dirname "$0")" |
|
11 |
source enter-env |
|
12 |
pip install -r requirements.txt |
env/enter-env | ||
---|---|---|
1 |
#!/bin/bash |
|
2 |
|
|
3 |
source ~/.env/tooltron/bin/activate |
env/requirements.txt | ||
---|---|---|
1 |
Django==1.4.3 |
|
2 |
South==0.7.6 |
|
3 |
distribute==0.6.19 |
|
4 |
MySQL-python==1.2.3 |
env/run-server | ||
---|---|---|
1 |
#!/bin/bash |
|
2 |
|
|
3 |
cd "$(dirname "$0")" |
|
4 |
source enter-env |
|
5 |
exec ../crm/manage.py runserver 0.0.0.0:8000 |
requirements.txt | ||
---|---|---|
1 |
CDDB==1.4 |
|
2 |
Django==1.4.3 |
|
3 |
GnuPGInterface==0.3.2 |
|
4 |
Jinja2==2.5.5 |
|
5 |
MarkupSafe==0.12 |
|
6 |
MySQL-python==1.2.3 |
|
7 |
PAM==0.4.2 |
|
8 |
PIL==1.1.7 |
|
9 |
PyYAML==3.10 |
|
10 |
Pygments==1.4 |
|
11 |
Pyste==0.9.10 |
|
12 |
South==0.7.6 |
|
13 |
Sphinx==1.0.7 |
|
14 |
Twisted-Core==11.0.0 |
|
15 |
Twisted-Web==11.0.0 |
|
16 |
apt-xapian-index==0.44 |
|
17 |
apturl==0.5.1ubuntu1 |
|
18 |
chardet==2.0.1 |
|
19 |
command-not-found==0.2.44 |
|
20 |
configobj==4.7.2 |
|
21 |
defer==1.0.2 |
|
22 |
distribute==0.6.19 |
|
23 |
docutils==0.7 |
|
24 |
epydoc==3.0.1 |
|
25 |
gnome-app-install==0.4.7-nmu1ubuntu2 |
|
26 |
httplib2==0.7.2 |
|
27 |
jockey==0.9.4 |
|
28 |
keyring==0.9.2 |
|
29 |
launchpadlib==1.9.8 |
|
30 |
lazr.restfulclient==0.11.2 |
|
31 |
lazr.uri==1.0.2 |
|
32 |
lxml==2.3 |
|
33 |
matplotlib==1.0.1 |
|
34 |
mercurial==1.9.1 |
|
35 |
mutagen==1.19 |
|
36 |
numpy==1.5.1 |
|
37 |
nvidia-common==0.0.0 |
|
38 |
oauth==1.0.1 |
|
39 |
onboard==0.96.1 |
|
40 |
oneconf==0.2.6.7 |
|
41 |
paramiko==1.7.7.1 |
|
42 |
pexpect==2.3 |
|
43 |
piston-mini-client==0.6 |
|
44 |
pyOpenSSL==0.12 |
|
45 |
pycrypto==2.3 |
|
46 |
pycups==1.9.59 |
|
47 |
pycurl==7.19.0 |
|
48 |
pyparsing==1.5.2 |
|
49 |
pyserial==2.5 |
|
50 |
pysmbc==1.0.10 |
|
51 |
python-apt==0.8.0ubuntu9 |
|
52 |
python-dateutil==1.4.1 |
|
53 |
python-debian==0.1.20ubuntu2 |
|
54 |
python-virtkey==0.60.0 |
|
55 |
pytz==2010b |
|
56 |
pyxdg==0.19 |
|
57 |
screen-resolution-extra==0.0.0 |
|
58 |
sessioninstaller==0.0.0 |
|
59 |
simplejson==2.1.6 |
|
60 |
ubuntu-sso-client==1.4.1 |
|
61 |
ufw==0.30.1-2ubuntu1 |
|
62 |
unattended-upgrades==0.1 |
|
63 |
usb-creator==0.2.23 |
|
64 |
virtualenv==1.6.4 |
|
65 |
wadllib==1.2.0 |
|
66 |
wsgiref==0.1.2 |
|
67 |
wxPython==2.8.11.0 |
|
68 |
wxPython-common==2.8.11.0 |
|
69 |
xkit==0.0.0 |
|
70 |
zope.interface==3.6.1 |
Also available in: Unified diff