forked from mempool/mempool
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply changes from code we received from a retired Bisq dev.
As we don't have a git version to know on which version was based on, it was hard to merge. I tried to not delete any files from latest snapshot (before Bisq got removed from mempool) and I tried to keep new changes which are likely unreleated to his changes. Though its messy and requires a dev familiar with the used tech stack to clear all that up.
- Loading branch information
1 parent
1b21cd8
commit 341bc8c
Showing
89 changed files
with
14,393 additions
and
30,883 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
## Quick Setup for Development | ||
|
||
(prerequisite: bisq-daonode is installed & running) | ||
|
||
### Install node, npm, n | ||
|
||
``` | ||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash | ||
source ~/.bashrc | ||
nvm install v16.14 | ||
node -v | ||
npm -v | ||
npm install -g n | ||
n --version | ||
``` | ||
|
||
### Explorer Backend | ||
|
||
|
||
``` | ||
cd mempool/backend | ||
npm install | ||
npm run build | ||
npm run start | ||
``` | ||
|
||
logging should show it connecting to Bisq, retrieving blocks, prices, offers, trades etc. | ||
|
||
### Explorer Frontend | ||
|
||
``` | ||
cd mempool/frontend | ||
npm install | ||
npm run build | ||
npm run serve | ||
``` | ||
|
||
the explorer should be visible in a browser at http://localhost:4200 | ||
alternately, to have the frontend served by nginx: | ||
`cp mempool/frontend/dist/mempool/browser/en-US/* /var/www/mempool` | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,4 @@ set -e | |
cd package/node_modules | ||
rm -r \ | ||
typescript \ | ||
@typescript-eslint \ | ||
@napi-rs | ||
@typescript-eslint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.