|
|
### Tested on (2019-Oct-25)
|
|
|
|
|
|
* ~~Ubuntu 18.04.3~~ (Python 3.7+ is required.)
|
|
|
* Ubuntu 19.04
|
|
|
|
|
|
Note: Not using a fork in this example! Make sure to create a fork if you want to contribute some changes!
|
|
|
```sh
|
|
|
sudo apt install git python3-virtualenv libgirepository1.0-dev libcairo2-dev python3.7-dev
|
|
|
git clone https://dev.gajim.org/gajim/python-nbxmpp.git
|
|
|
git clone https://dev.gajim.org/gajim/gajim.git
|
|
|
git clone https://dev.gajim.org/gajim/gajim-plugins.git
|
|
|
|
|
|
# Apparently running virtualenv for Python 3 is weird:
|
|
|
python3 -m virtualenv -p python3.7 venv
|
|
|
source venv/bin/activate
|
|
|
pip install -e python-nbxmpp
|
|
|
pip install pygobject css-parser pyopenssl ipython python-axolotl
|
|
|
```
|
|
|
* `python-axolotl` is required for the omemo plugin to work
|
|
|
|
|
|
```sh
|
|
|
mkdir config
|
|
|
ln -s ../gajim-plugins config/plugins.testprofile # Yes, this looks weird but that's how it works. ;)
|
|
|
cd gajim
|
|
|
./launch.py -p testprofile -c ../config -s -l gajim=DEBUG
|
|
|
```
|
|
|
Now make yourself a test account and you're good to go!
|
|
|
|
|
|
If you want an IPython console you can also run the last command again with an additional `-i`.
|
|
|
|
|
|
```sh
|
|
|
./launch.py -p testprofile -c ../config -s -l gajim=DEBUG -i
|
|
|
```
|
|
|
When you enter a command there you will get output in the terminal which is a bit confusing but it's usable.
|
|
|
|
|
|
Read more [about debugging](/development/Firststepsfordebugging). |
|
|
\ No newline at end of file |