mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-07 15:43:54 +02:00
add virtualenv to CentOS instructions
This commit is contained in:
parent
5e22b79033
commit
0256f3b31c
1 changed files with 6 additions and 2 deletions
|
@ -40,15 +40,19 @@ source /opt/rh/python27/enable
|
||||||
|
|
||||||
# Upgrade pip itself
|
# Upgrade pip itself
|
||||||
pip -q install --upgrade pip
|
pip -q install --upgrade pip
|
||||||
# # python-devel needed to prevent setup.py crash, pycrypto 2.7.1 needed for latest security patch
|
# python-devel needed to prevent setup.py crash
|
||||||
pip -q install pycrypto
|
pip -q install pycrypto
|
||||||
|
# pycrypto 2.7.1 needed for latest security patch
|
||||||
pip -q install setuptools --upgrade
|
pip -q install setuptools --upgrade
|
||||||
|
# virtualenv to make installing dependencies easier
|
||||||
|
pip -q install virtualenv
|
||||||
|
|
||||||
wget -q https://github.com/trailofbits/algo/archive/master.zip
|
wget -q https://github.com/trailofbits/algo/archive/master.zip
|
||||||
unzip master.zip
|
unzip master.zip
|
||||||
cd algo-master || echo "No Algo directory found"
|
cd algo-master || echo "No Algo directory found"
|
||||||
|
|
||||||
# Install the local Algo dependencies (must be run from algo-master)
|
# Set up a virtualenv and install the local Algo dependencies (must be run from algo-master)
|
||||||
|
virtualenv env && source env/bin/activate
|
||||||
pip -q install -r requirements.txt
|
pip -q install -r requirements.txt
|
||||||
|
|
||||||
# Edit the userlist and any other settings you desire
|
# Edit the userlist and any other settings you desire
|
||||||
|
|
Loading…
Add table
Reference in a new issue