hojas/bisq/Dev environment setup.md
2023-12-09 19:27:21 +01:00

49 lines
No EOL
1.5 KiB
Markdown

Install IntelliJ IDEA
---
Upload the public GPG key to Github.
Modify the `.gitconfig` file to commit messages properly. An example template:
```
[user]
name = counterweight
email = counterweightoperator@protonmail.com
signingkey = key goes here
[core]
autocrlf = input
[gpg]
program = gpg
[commit]
gpgsign = true
[merge]
gpgsign = true
[credential]
helper = cache
```
The signing key field can be obtained from Github. It appears after adding the public key, named `Key ID`.
You can also probably obtain it from your GPG software.
---
Create three run configs. On each run config, you should click the `Modify options` text and activate the `Add VM options`. A new filed will appear in the Run config modal. You should paste the
Alice, with the following code
```
-Dapplication.network.supportedTransportTypes.2=CLEAR -Dapplication.network.seedAddressByTransportType.clear.0=127.0.0.1:8000 -Dapplication.network.seedAddressByTransportType.clear.1=127.0.0.1:8001
```
Bob, with the following code
```
-Dapplication.network.supportedTransportTypes.2=CLEAR -Dapplication.network.seedAddressByTransportType.clear.0=127.0.0.1:8000 -Dapplication.network.seedAddressByTransportType.clear.1=127.0.0.1:8001
```
Seed node, with the following code
```
-Dapplication.appName=bisq_seed1_(bisq2) -Dapplication.network.defaultNodePortByTransportType.clear=8000 -Dapplication.network.supportedTransportTypes.2=CLEAR -Dapplication.network.seedAddressByTransportType.clear.1=127.0.0.1:8001
```