mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-24 23:00:36 -04:00
Update instructions for building from source
This commit is contained in:
parent
5d1fb36069
commit
d6150c22a0
1 changed files with 8 additions and 6 deletions
14
doc/build.md
14
doc/build.md
|
@ -16,11 +16,13 @@ What follows is explained in detail in the sections below, but for those who kno
|
||||||
|
|
||||||
$ git clone https://github.com/bitsquare/bitsquare.git
|
$ git clone https://github.com/bitsquare/bitsquare.git
|
||||||
$ cd bitsquare
|
$ cd bitsquare
|
||||||
$ ./gradlew build # (on *nix)
|
$ ./gradlew appJar # (on *nix)
|
||||||
--- or ---
|
--- or ---
|
||||||
$ gradlew build # (on Windows)
|
$ gradlew appJar # (on Windows)
|
||||||
|
|
||||||
When the build completes, you will find executables and installers specific to your platform in the `build/distributions/` directory.
|
When the build completes, you will find an excutable jar in the `build/libs` directory. Run it as follows for the help screen:
|
||||||
|
|
||||||
|
$ java -jar build/libs/bitsquare-<version>-app.jar --help
|
||||||
|
|
||||||
|
|
||||||
Prerequisites
|
Prerequisites
|
||||||
|
@ -54,14 +56,14 @@ However, if you're not familiar with git or it is otherwise inconvenient to use,
|
||||||
|
|
||||||
Bitsquare uses [Gradle](http://www.gradle.org/), and the [Gradle wrapper](http://www.gradle.org/docs/current/userguide/gradle_wrapper.html) as a build system. This means you don't need to download or do anything other than run the following command within the `bitsquare` directory.
|
Bitsquare uses [Gradle](http://www.gradle.org/), and the [Gradle wrapper](http://www.gradle.org/docs/current/userguide/gradle_wrapper.html) as a build system. This means you don't need to download or do anything other than run the following command within the `bitsquare` directory.
|
||||||
|
|
||||||
./gradlew build
|
./gradlew appJar
|
||||||
|
|
||||||
> _**NOTE:** on Windows, leave out the `./` and simply run `gradlew build`._
|
> _**NOTE:** on Windows, leave out the `./` and simply run `gradlew appJar`._
|
||||||
|
|
||||||
|
|
||||||
### 3. Run
|
### 3. Run
|
||||||
|
|
||||||
When the build completes, you'll find executables and installers in the `build/distributions` directory.
|
When the build completes, you'll find an executable jar in the `build/libs` directory. See instructions above for how to run it.
|
||||||
|
|
||||||
|
|
||||||
Problems?
|
Problems?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue