We make use of submodules, so remember using the --recursive argument when cloning this repo.
sudo apt-get install scons build-essential libevent-dev python-libtorrent python-apsw python-wxgtk2.8 python-netifaces python-m2crypto vlc
TODO
TODO
First clone the repository:
git clone --recursive [email protected]:Tribler/tribler.git
Then build swift and copy the binary where Tribler expects it to be:
cd tribler/Tribler/SwiftEngine
scons #or scons -j8 if you have 8 cores on your machine.
cp swift ../..
cd ../..
Done! Now you can run tribler by executing the tribler.sh script on the root of the tree:
./tribler.sh
TODO
- As updated submodules are in detached head state, remember to check out a branch before commiting changes on them.
- If you forgot to check out a branch before doing a commit, you should get a warning telling you about it. To get the commit to a branch just check out the branch and do a git cherry-pick of the commit.
- Take care of not accidentally commiting a submodule change with git commit -a
- Do not commit a submodule update without running all the tests first and making sure the new code is not breaking Tribler.