forked from ahmednofal/grr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-dev.sh
23 lines (19 loc) · 967 Bytes
/
install-dev.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
set -ex
echo "GRR will be installed into a virtualenv at ~/.virtualenv/cluster"
virtualenv virtualenv --python=/usr/bin/python2.7 ~/.virtualenv/cluster
source "${HOME}/.virtualenv/cluster/bin/activate"
pip install --upgrade pip wheel six setuptools nodeenv
nodeenv -p --prebuilt --node=10.12.0
source "${HOME}/.virtualenv/cluster/bin/activate"
pip install --no-cache-dir -f https://storage.googleapis.com/releases.grr-response.com/index.html grr-response-templates
pip install -e grr/proto --progress-bar off
pip install -e grr/core --progress-bar off
pip install -e grr/client --progress-bar off
pip install -e api_client/python --progress-bar off
pip install -e grr/client_builder --progress-bar off
pip install -e grr/server/[mysqldatastore] --progress-bar off
pip install -e grr/test --progress-bar off
cd grr/proto && python makefile.py && cd -
cd grr/core/grr_response_core/artifacts && python makefile.py && cd -
grr_config_updater initialize