Commit Graph

47 Commits

Author SHA1 Message Date
Alva Swanson
e9d34f39d9
Enforce same JDK in all start scripts 2023-09-10 22:11:37 +02:00
Alejandro García
e5aef09e96
Revert "Move bisq-* scripts from root directory to scripts directory" 2023-07-12 13:53:13 +00:00
Alva Swanson
516df168fd
Move bisq-* scripts from root directory to scripts directory 2023-07-07 21:08:30 +02:00
HenrikJannsen
f55ab5e565
Remove monitor module
It has been extracted to https://github.com/bisq-network/bisq-monitor

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-24 16:30:34 -05:00
HenrikJannsen
d7deb169a1
Add /.run to gitignore
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 21:23:59 -05:00
ghubstan
1eaa081e77
Git-ignore apitest dao-setup files
Added .gitignore line for apitest dao-setup files.  Regtest/DAO
setup files downloaded during a build should not be tracked by git,
nor saved in the repo.  These are the files downloaded, unzipped
and installed by the gradle task installDaoSetup:
    $ ./gradlew clean build :apitest:installDaoSetup
2021-01-28 14:21:30 -03:00
Chris Beams
368f0ad7f1
Ignore Structure101 Workspace files
In the refactorings that will follow, Structure101 Studio and the
Structure101 Workspace IDEA plugin will be used to visualize and help
resolve tangles in the codebase. We were already ignore Studio
configuration files which end in .java.hsb, and this commit ignores the
newer Workspace product's .java.hsw files as well.
2020-01-10 19:48:26 +01:00
Justin Carter
650c5894db
Use STATE_DIR := .localnet in makefile 2019-11-30 07:50:59 +01:00
Chris Beams
e5449c2a44
Add Makefile for automating localnet setup
Problem: contributors old and new must read and follow many manual steps
spread across three documents (docs/{build,dev-setup,dao-setup}.md) in
order to get up and running with a local regtest Bisq network deployment
suitable for isolated development and end-to-end testing. This process
is not only manual, but requires considerable trial and error for most
contributors, and can amount to hours of effort. Perhaps most
detrimental is that this friction makes it much less likely that we get
"all hands on deck" to cover test scenarios at release time. Getting up
and running with what this change refers to as a "localnet" should be
among the very first things a new contributor does. It should be fast
and easy, maximizing the contributor's ability to get productive right
away.

Solution: this commit introduces a simple and well-documented makefile
to the root of the source tree. It instructs the user to issue a series
of simple `make` commands, at the end of which they'll have a fully
functional localnet deployment.

Caveats:

 - No support for Windows unless the user is running Git Bash, Cygwin or
   similar. In any case, the makefile serves as clear documentation
   about what a Windows user would need to do manually, i.e. without the
   benefit of `make` automating it all.

 - The aforementioned setup documents should be updated to point to this
   makefile instead of explaining everything in prose. The dev-setup.md
   and dao-setup.md documents may actually be candidates for deletion if
   this new approach proves successful.

 - These changes do not include passing the new -peerbloomfilters=1
   option to bitcoin versions 0.19 and above. Those who have already
   upgraded should take care to add that option.

Notes:

 - The introduction of this makefile has no impact on Bisq's use of
   Gradle as a build system. Everything there is as it has been. This
   makefile is a completely optional convenience being added into the
   mix. It has the added benefit of being a "friendly face" to those not
   familiar with the Java / JVM ecosystem. Developers from many
   different backgrounds are familiar with make and makefiles, and they
   may find this one a pleasant and inviting surprise.
2019-11-30 01:56:27 +01:00
Christoph Atteneder
d339f4274d
Ignore jenv config files 2019-03-27 15:48:55 +01:00
Manfred Karrer
cb533f4364
Update gitignore
- Add /monitor/TorHiddenServiceStartupTimeTests/* and
/monitor/monitor-tor/*
2018-12-29 13:54:08 +01:00
Christoph Atteneder
03e077c09e
Ignore release folder in desktop module 2018-12-04 15:12:54 +01:00
Chris Beams
fc0491d8da
Generate scripts for Bisq executables in root dir
This change configures the Gradle build to generate "start scripts" for
each Bisq executable (e.g. Bisq Desktop, Bisq Seednode, etc) in the root
project directory, such that after invoking `./gradle build`, the
following executable scripts become available:

    ~/Work/bisq-network/bisq
    $ ls -1 | egrep '(bisq*|lib)'
    bisq-desktop
    bisq-desktop.bat
    bisq-monitor
    bisq-monitor.bat
    bisq-relay
    bisq-relay.bat
    bisq-seednode
    bisq-seednode.bat
    bisq-statsnode
    bisq-statsnode.bat
    lib

This makes it possible for users (developers) to easily discover and use
these scripts in an idiomatic and platform-agnostic way as opposed to
the previous situation where we would advise users to run e.g.

    java -jar desktop/build/libs/desktop-0.8.0-SNAPSHOT-all.jar

This approach works, but is cumbersome and focuses unnecessarily on the
Java-based nature of the project. Now, with the changes in this commit,
the user would simply run:

    ./bisq-desktop

The 'lib' directory shown above contains all the jar files necessary to
construct classpaths for these various scripts. The 'cleanInstallDist'
task deletes the 'bisq-*' files and the 'lib' directory, and the default
'clean' task has been configured to depend on the 'cleanInstallDist'
task to ensure this cleanup happens automatically when most users would
expect it.

In the future, these same scripts can be used when installing Bisq
executables properly on users' systems via package managers like Brew
and Apt. The goal is to have the user experience around running
`bisq-desktop` (and more importantly, the forthcoming `bisqd`) be
similar in every way to installing and using `bitcoind`, `lnd` and other
idiomatic *nix-style utilities, be they Bitcoin-related or not.

See the changes in docs/build.md and docs/dev-setup.md for a further
sense of the how this change impacts the developer experience.
2018-11-23 15:00:47 +01:00
Christoph Atteneder
ca825410bc
Improve gitignore 2018-09-05 11:20:22 +02:00
Manfred Karrer
564f306a75
Add releases/* to gitignore 2018-05-11 19:56:40 +02:00
Chris Beams
4a7801023d
Re-introduce fat executable jar for release packaging
Prior to this fix, running `./package/osx/create_app.sh` produced a
"Main application jar is missing." error. Now the script works as
expected.
2018-05-06 15:40:00 +02:00
Chris Beams
fa492836bb
Remove Maven build 2018-03-21 06:16:32 +01:00
Chris Beams
3f0e85e65b
Remove gui path from scripts and .gitignore 2018-03-10 18:51:09 +01:00
Chris Beams
86f4df4122
Move seednode module to new repository
This module is being extracted into its own repository, which will live
at https://github.com/bisq-network/bisq-seednode.
2018-03-08 14:28:34 +01:00
Bernard Labno
fe1edafbd8 Dockerize seednode for development mode 2018-02-20 17:58:06 +01:00
Manfred Karrer
4c46293373 Fix git ignore (bat was ignored!) 2017-06-28 00:54:58 +02:00
Manfred Karrer
e258b17e7a Update license with Bisq instead of bisq 2017-06-27 01:39:11 +02:00
Manfred Karrer
59029cfc34 Update git ignore 2017-02-12 12:15:12 -05:00
SimonTuberlin
8ddf670b8e Added BIC and IBAN validation 2017-01-30 22:43:15 +01:00
Rob Judd
1a7a867e17 Ignore XChange subdirectory 2016-10-23 15:58:55 +10:00
Rob Judd
a257778d83 Ignore local buildfile changes 2016-10-14 04:25:05 +10:00
Manfred Karrer
2b9abc2999 Add to ignore list 2016-10-05 23:57:25 +02:00
Manfred Karrer
5a1fa6ea4b Update git ignore 2016-01-22 02:36:53 +01:00
Manfred Karrer
c6ece486ed move network code to module 2015-10-28 02:12:00 +01:00
Manfred Karrer
0008202037 Cleanup from code inspection 2015-03-28 15:34:28 +01:00
Manfred Karrer
4352c88766 Update gitignore 2015-02-28 00:10:00 +01:00
Chris Beams
b1a4641139
Ignore Structure101 files 2014-11-05 01:13:24 +01:00
Chris Beams
f135873f58
Enable Gradle Eclipse project metadata generation
This commit applies the 'eclipse' Gradle plugin, such that .classpath,
.project and .settings files can be generated using:

    ./gradlew eclipse

Once the above is complete, import the project into Eclipse with the
following command:

    File->Import->Existing projects into workspace

The .gitignore file has been updated accordingly.

Resolves #222
2014-10-13 12:02:43 +02:00
Chris Beams
8746ab74de
Restore GPL copyright header configuration
This partially reverts changes (accidentally) made in fb89f08, restoring
IDEA copyright header configuration files back to their original state
as committed in d5e7b6c.
2014-10-05 19:49:51 +02:00
Steve Myers
5e9f97953f Added built in dht seed node 2014-10-04 19:19:18 -07:00
Chris Beams
7c176be3a0
Remove Maven pom 2014-08-28 13:56:06 +02:00
Chris Beams
49adf9cc97
Add Gradle build file with wrapper configuration 2014-08-28 13:56:04 +02:00
Chris Beams
ec6b0ae6bc
Ignore OS X .DS_Store files 2014-08-26 18:28:21 +02:00
Chris Beams
9c3df7375a
Add IDEA formatting settings 2014-08-26 16:01:31 +02:00
Chris Beams
d5e7b6cfdb
Add IDEA copyright configuration 2014-08-26 15:56:14 +02:00
Chris Beams
6ff63ce2c6
Ignore Vim swap files 2014-08-26 15:56:13 +02:00
Chris Beams
b1e85691ed
Remove duplicate gitignore entry 2014-08-26 15:56:13 +02:00
Steve Myers
cceb53b2e0 Ignore all .log files 2014-07-31 22:58:23 -07:00
Manfred Karrer
d23a965cdc fix app path 2014-07-08 00:39:23 +02:00
Manfred Karrer
c24ffb3cce integrate bitcoinj WalletAppKit 2014-04-15 01:37:59 +02:00
Manfred Karrer
328ecf34fe integrate bitcoinj WalletAppKit 2014-04-15 01:29:34 +02:00
Manfred Karrer
bc09937785 initial commit. gui prototype v 0.1 2014-04-11 11:33:48 +02:00