-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsetup
executable file
·35 lines (28 loc) · 867 Bytes
/
setup
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
#!/bin/bash
# Installing dependencies
echo 'Getting dtella dependencies'
if grep "Ubuntu" /etc/issue > /dev/null
then
echo "UBUNTU"
pacman="apt-get"
elif grep "Fedora" /etc/issue > /dev/null
then
echo "FEDORA"
pacman="yum"
fi
sudo $pacman install python2.7
sudo $pacman install openssl
sudo $pacman install python-pip
# Please note there is an issue with installing on 32-bit machines
# the pip installer is not able to install pip, feel free to try if you have 32-bit
# intead uncomment the following line to install using apt-get
#sudo apt-get install python-twisted
# Install the dependencies
sudo pip install twisted
sudo pip install PyCrypto
sudo pip install dnspython
sudo pip install gdata
echo 'Run dtella with: python2 dtella.py'
echo 'Create a new hub in DC++ with these options:'
echo '-> Name: Dtella'
echo '-> Address: 127.0.0.1:7314'