-
Notifications
You must be signed in to change notification settings - Fork 4
1.0 The basic instruction
Ming Gu edited this page Sep 24, 2023
·
10 revisions
Welcome to the diffDomain wiki for the Python3 version!
We suggest using the latest version, and the scripts that should be used in the command line are under the 'diffdomain-py3' folder.
Since our tools are Python scripts that are used in the terminal, for convenience, we suggest adding the DiffDomain path to the environmental path as below.
Firstly, we need to find the path where the DiffDomain was installed.
- If you installed DiffDomain by PIP, it will be installed under the Python path
- If you download DiffDomain from GitHub, you should know the path.
- If you are using Docker, the DiffDomain folder is in your home path.
Second, let's add the scripts to the environmental path. If you have Vim or Vi that can edit text files in the terminal,
- you can use
vim ~/.bashrc
to open the file - and press "i" on your keyboard to input something.
- Now add
export PATH="/the/installation/path/diffdomain-py3:$PATH"
to this file. - Press the 'Esc' to exit the inputting mode, then input
:wq
and press 'Enter' to save it.
Last, execute source ~/.bashrc
in your terminal.
Now you can use python diffdomains.py
under any path as long as you are using the correct Python that belongs to the environment for DiffDomain.
DiffDomain~Wiki