~ubuntu-branches/debian/sid/openchange/sid

« back to all changes in this revision

Viewing changes to mapiproxy/services/setup.sh

  • Committer: Package Import Robot
  • Author(s): Jelmer Vernooij
  • Date: 2012-04-12 20:07:57 UTC
  • mfrom: (11 sid)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: package-import@ubuntu.com-20120412200757-k933d9trljmxj1l4
Tags: 1:1.0-4
* openchangeserver: Add dependency on openchangeproxy.
* Rebuild against newer version of Samba 4.
* Use dpkg-buildflags.
* Migrate to Git, update Vcs-Git header.
* Switch to debhelper 9.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
echo '############################################################'
 
4
echo 'Run the script from local directory'
 
5
echo 'Also ensure OpenChange is compiled prior running the script'
 
6
echo '############################################################'
 
7
 
 
8
echo '[*] Installing virtualenv'
 
9
sudo easy_install virtualenv
 
10
 
 
11
echo '[*] Creating the isolated python environment'
 
12
virtualenv mydevenv
 
13
 
 
14
echo '[*] Installing Pylons 1.0 in mydevenv'
 
15
curl http://pylonshq.com/download/1.0/go-pylons.py | python - mydevenv
 
16
 
 
17
echo '[*] Copying OpenChange bindings in mydevenv'
 
18
cp -rfi ../../python/openchange mydevenv/lib/python2.7/site-packages/
 
19
 
 
20
echo '[*] Activating the virtual environment'
 
21
source mydevenv/bin/activate
 
22
 
 
23
echo '[*] Reconfiguring ocsmanager'
 
24
cd ocsmanager
 
25
python setup.py develop
 
26
 
 
27
echo '@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@'
 
28
echo 'To run the ocsmanager service:'
 
29
echo 'source mydevenv/bin/activate'
 
30
echo 'cd ocsmanager'
 
31
echo 'paster serve --reload development.ini'
 
32
echo '@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@'