/
setupnotary.sh
40 lines (36 loc) · 2.07 KB
/
setupnotary.sh
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
#!/bin/bash
rm -rf botocore govern8r govern8rClient govern8rLib govern8rService python-bitcoinlib
# one time command to update python in MAC env.
#ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
#brew install python
#sudo eas_install virtualenv
#sudo easy_install pip
# start to download all the repos
git clone https://github.com/cypherhat/govern8r.git
git clone https://github.com/cypherhat/govern8rClient.git
git clone https://github.com/cypherhat/govern8rService.git
git clone https://github.com/cypherhat/govern8rLib.git
git clone https://github.com/cypherhat/python-bitcoinlib.git
#create virtual envs.
pwd
virtualenv -p /usr/bin/python vClient
virtualenv -p /usr/bin/python vService
source vService/bin/activate
pwd
#install server required packages
pip install -r govern8rService/requirements.txt
pwd
deactivate
pwd
source vClient/bin/activate
#install client required packages.
pip install -r govern8rClient/requirements.txt
pwd
deactivate
~
~
~
~
~
~
~