-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Incorporate all historical changes to align with mojaloop. * Tested locally with provided scripts - passed Tested with Postman - passed To be fixed: Credentials on tests for SMTP * Fixed Emailing test with a valid user * fixes for unit test issues * re-added sidecar enabled * fixes and updates to tests and package * fixes for functional tests * fixing unit tests, stubbing smtp server * settlement coverage * unit testing for settlements and csv * removed console.logs * code working except for test * fixes for some tests * updates for validation working * fixing reorder * reverting * fix file path * added updated config.yml script * testing * unit test fixes and changes. coverage failing * fixes for coverage tests only setup.js left now * fixes for docker version and updated onboarding doc * removing fs-extra * reverting default json for sidecar * Fix src/setup/setup.js tests * updated code for functional tests and integration tests * files for integration and functional tests * fixes for testing * sodium build issues * issues with sodium * removed global install of sodium and argon which is breaking circleci build. build is currently cached so it may break again because of cache * version upgrade * added local install of tape and tap-xunit to config.yml and test.dockerfile * version change so that cache refreshes * dependency issue for tape and tap-xunit * added tape and tap-xunit for test.docker file back for testing to pass
- Loading branch information
Showing
116 changed files
with
2,465 additions
and
2,441 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
FROM dwolla/alpine-node-make | ||
FROM mhart/alpine-node:8.9.4 | ||
|
||
WORKDIR /opt/central-ledger | ||
COPY . /opt/central-ledger | ||
|
||
RUN npm link sodium && \ | ||
npm link argon2 && \ | ||
npm install --production && \ | ||
RUN apk add --no-cache -t build-dependencies make gcc g++ python libtool autoconf automake \ | ||
&& cd $(npm root -g)/npm \ | ||
&& npm install -g node-gyp | ||
|
||
RUN npm install --production && \ | ||
npm uninstall -g npm | ||
|
||
RUN apk del build-dependencies | ||
|
||
EXPOSE 3000 | ||
CMD node src/api/index.js |
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 |
---|---|---|
|
@@ -143,12 +143,12 @@ Download the nvm install script via cURL: | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash | ||
``` | ||
* Ensure that nvm was installed correctly with `nvm --version`, which should return the version of nvm installed | ||
* Install the version of Node.js you want: | ||
* Install the version (8.9.4 current LTS) of Node.js you want: | ||
* Install the latest LTS version with `nvm install --lts` | ||
* Use the latest LTS verison with `nvm use --lts` | ||
* Install the latest version with `nvm install node` | ||
* Use the latest version with `nvm use node` | ||
* If necessary, fallback to `nvm install 6.5.0` and `nvm use 6` | ||
* If necessary, fallback to `nvm install 8.9.4` and `nvm use 0.33.6` | ||
|
||
##### Setup nvm | ||
Create a *.bash_profile* file with `touch ~/.bash_profile`, then `nano ~/.bash_profile` and *write*: | ||
|
@@ -192,4 +192,4 @@ export CLEDG_DATABASE_URI=postgres://central_ledger:cVq8iFqaLuHy8jjKuA@localhost | |
* `./src/argon2_node.cpp:6:10: fatal error: 'tuple' file not found` | ||
- resolved by running `CXX='clang++ -std=c++11 -stdlib=libc++' npm rebuild` | ||
* sodium v1.2.3 can't compile during npm install | ||
- resolved by installing v2.0.3 `npm install [email protected]` | ||
- resolved by installing v2.0.3 `npm install [email protected]` |
Oops, something went wrong.