bisq/docs/build.md

58 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

## Building Bisq
2022-09-15 09:21:37 +02:00
1. **Clone Bisq**
```sh
git clone https://github.com/bisq-network/bisq
# if you intend to do testing on the latest release, you can clone the respective branch selectively, without downloading the whole repository
# for the 1.9.3 release, you would do it like this:
2024-11-08 03:56:04 +01:00
git clone --recurse-submodules --branch release/v1.9.3 https://github.com/bisq-network/bisq
cd bisq
```
2022-09-15 09:21:37 +02:00
2. **Build Bisq**
On macOS and Linux, execute:
```sh
./gradlew build
```
On Windows:
```cmd
gradlew.bat build
```
If you prefer to skip tests to speed up the building process, just append _-x test_ to the previous commands.
### Important notes
1. You do _not_ need to install Gradle to build Bisq. The `gradlew` shell script will install it for you, if necessary.
2021-11-16 13:13:09 +01:00
2. Bisq currently works with JDK 11 and JDK 15. You can find out which
version you have with:
```sh
javac -version
```
2021-04-22 17:16:00 +02:00
If you do not have JDK 11 installed, check out scripts in the [scripts](../scripts) directory or download it manually from https://jdk.java.net/archive/.
## Running Bisq
Once Bisq is installed, its executables will be available in the root project directory. Run **Bisq Desktop** as follows:
On macOS and Linux:
```sh
./bisq-desktop
```
On Windows:
```cmd
bisq-desktop.bat
```
## See also
- [Importing Bisq into IntelliJ IDEA](./idea-import.md)
- [Bisq development environment setup guide](./dev-setup.md)