tahoe-lafs dependencies

This commit is contained in:
Bob Mottram 2017-03-04 17:49:44 +00:00
parent 2ea8012dd2
commit a8fbe26dfb
1 changed files with 5 additions and 1 deletions

View File

@ -100,6 +100,7 @@ function upgrade_tahoelafs {
function_check set_repo_commit function_check set_repo_commit
set_repo_commit /home/tahoelafs/tahoelafs "tahoelafs commit" "$TAHOELAFS_COMMIT" $TAHOELAFS_REPO set_repo_commit /home/tahoelafs/tahoelafs "tahoelafs commit" "$TAHOELAFS_COMMIT" $TAHOELAFS_REPO
cd /home/tahoelafs/tahoelafs cd /home/tahoelafs/tahoelafs
git submodule update --init --recursive
virtualenv venv virtualenv venv
venv/bin/pip install --editable . venv/bin/pip install --editable .
chown -R tahoelafs:tahoelafs /home/tahoelafs chown -R tahoelafs:tahoelafs /home/tahoelafs
@ -192,7 +193,8 @@ function install_tahoelafs {
return return
fi fi
apt-get -yq install build-essential python-pip python-dev libffi-dev libssl-dev python-virtualenv apt-get -yq install build-essential python-pip python-dev libffi-dev libssl-dev
apt-get -yq install libcrypto++-dev python-virtualenv
# create a user to run the introducer # create a user to run the introducer
if [ ! -d /home/tahoelafs ]; then if [ ! -d /home/tahoelafs ]; then
@ -211,7 +213,9 @@ function install_tahoelafs {
git_clone $TAHOELAFS_REPO /home/tahoelafs/tahoelafs git_clone $TAHOELAFS_REPO /home/tahoelafs/tahoelafs
cd /home/tahoelafs/tahoelafs cd /home/tahoelafs/tahoelafs
git checkout $TAHOELAFS_COMMIT -b $TAHOELAFS_COMMIT git checkout $TAHOELAFS_COMMIT -b $TAHOELAFS_COMMIT
git submodule update --init --recursive
virtualenv venv virtualenv venv
venv/bin/pip install six packaging appdirs pycrypto==2.1.0
venv/bin/pip install --editable . venv/bin/pip install --editable .
configure_firewall_for_tahoelafs configure_firewall_for_tahoelafs