Giter Site home page Giter Site logo

Help to Instalation about torrentbox HOT 8 CLOSED

myeonggyunhan avatar myeonggyunhan commented on July 17, 2024
Help to Instalation

from torrentbox.

Comments (8)

myeonggyunhan avatar myeonggyunhan commented on July 17, 2024

It looks like you didn't installed django
I think sudo pip install django==1.8.3 command will be helpful

Also, which OS do you use? Do you use virtualenv?

from torrentbox.

jholhewres avatar jholhewres commented on July 17, 2024

I'm using Linux Codeanywhere, I have created new connections with Linux, Django and Python,

the pip command shows is invalid, can not install.

from torrentbox.

myeonggyunhan avatar myeonggyunhan commented on July 17, 2024

I tried to install on the Codeanywhere a few minuted ago, but I failed because it offers too small storage (2 GB)
TorrentBOX uses libtorrent library to download torrent and it takes some space

If you have space more than 2GB, try below installation process with Django (Ubuntu 14.04) connection

Open the SSH Terminal and type below commands

# Create python3 virtualenv
virtualenv -p python3 ~/workspace/torrentboxenv
cd ~/workspace/torrentboxenv
source bin/activate

# Install libtorrent module
git clone https://github.com/arvidn/libtorrent.git -b RC_1_0
cd libtorrent
sudo apt-get update
sudo apt-get install autoconf libtool libboost-all-dev libssl-dev

./autotool.sh
./configure --enable-python-binding PYTHON=`which python` --prefix=$VIRTUAL_ENV --with-boost-python=py34

make
make install

echo 'export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$VIRTUAL_ENV/lib"' >> ~/workspace/torrentboxenv/bin/activate
source  ~/workspace/torrentboxenv/bin/activate

cd  ~/workspace/torrentboxenv
git clone https://github.com/L34p/TorrentBOX.git -b refactoring

cd TorrentBOX
pip install -r requirements.txt
sudo apt-get install rabbitmq-server

# Two terminals are needed
python manage.py runserver 0.0.0.0:8000
python manage.py celeryd -l info -c 5

from torrentbox.

jholhewres avatar jholhewres commented on July 17, 2024

Sorry about the delay, I managed to install everything, but in the end does not run, look at the screenshots:

screenshot_29
screenshot_30

I appreciate if you help me D:

from torrentbox.

myeonggyunhan avatar myeonggyunhan commented on July 17, 2024

Did you installed libtorrent? The first screenshot says that there is no libtorrent module
If you installed correctly, try below commands

cd ~/workspace/torrentboxenv
source bin/activate
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$VIRTUAL_ENV/lib"
python -c 'import libtorrent'

If there is no error, it is fine

Also, you have to activate the virtualenv before running django
First terminal

cd ~/workspace/torrentboxenv
source bin/activate
cd TorrentBOX
python manage.py runserver 0.0.0.0:8000

Second terminal

cd ~/workspace/torrentboxenv
source bin/activate
cd TorrentBOX
python manage.py celeryd -l info -c 5

from torrentbox.

jholhewres avatar jholhewres commented on July 17, 2024

Thanks for answering.

I tried to install libtorrent using the command: git clone libtorrent -b RC_1_0
Does not work, also I tried this: git clone git: //github.com/rakshasa/libtorrent.git

./autogen.sh the works, but gives error in the make and ./configure.

NOTE: Linux operating system, Ubuntu 14.04, Django / Python 3

from torrentbox.

myeonggyunhan avatar myeonggyunhan commented on July 17, 2024

If you don't have to use virtualenv, there is easy way.

# If you use virtualenv, then deactivate it first
deactivate

sudo apt-get install python3-libtorrent
sudo pip3 install -r requirements.txt

First terminal

# Do not activate virtualenv
python3 manage.py runserver 0.0.0.0:8000

Second terminal

# Do not activate virtualenv
python3 manage.py celeryd -l info -c 5

from torrentbox.

myeonggyunhan avatar myeonggyunhan commented on July 17, 2024

Sorry, git clone libtorrent -b RC_1_0 is typo

git clone https://github.com/arvidn/libtorrent.git -b RC_1_0 will work

from torrentbox.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.