tahoe-lafs dependencies
This commit is contained in:
parent
2ea8012dd2
commit
a8fbe26dfb
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue