-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- minimum default Node version to 18 - added rs_xdr image to support quickstart build
- Loading branch information
Showing
4 changed files
with
44 additions
and
14 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
**This is a placeholder file only.** | ||
|
||
The `system-test/js-stellar-sdk` directory can be used if you want to build `system-test` with a local file path for the [stellar/js-stellar-sdk](https://github.com/stellar/js-stellar-sdk) project rather than pulling it from remote | ||
npm or GitHub ref. Run, | ||
npm or GitHub ref. | ||
|
||
This can also be used as alternative when trying to use a GitHub ref url but getting the dreaded `file appears to be corrupt: ENOENT: no such file or directory` during build. | ||
|
||
```bash | ||
js-stellar-sdk$ yarn build | ||
``` | ||
|
||
Then, copy the entire directory over the top of `system-test/js-stellar-sdk` (or soft link the directories, but be careful in the soft link case as you don't want to accidentally delete, etc.) | ||
First, clone/check-out a version of js-stellar-sdk from GH locally, it should be clean, remove any node-modules/yarn.lock. | ||
|
||
Once you have the `system-test/js-stellar-sdk` ready, then build `system-test` and trigger it to use with: | ||
|
||
Then, copy the entire `js-stellar-sdk` directory over the top of `system-test/js-stellar-sdk`, this directory will be copied to the `/home/tester/js-stellar-sdk` path in the docker image. | ||
|
||
Then build `system-test` and trigger it to compile js sdk using the local files with: | ||
|
||
```bash | ||
make .... JS_STELLAR_SDK_NPM_VERSION=file:/home/tester/js-stellar-sdk build | ||
``` | ||
|
||
Then, `system-test/js-stellar-sdk` is copied to the `/home/tester/js-stellar-sdk` path in the docker image. | ||
|