This is the official Reference Architecture documentation for the Mojaloop project.
Our updated docs currently live in the ./vuepress directory
cd ./vuepress
# install npm dependencies
yarn
# run the local server
yarn run devRun yarn run build to build the project to render the static vuepress site for a deployment.
To version the current next document version found in the ./vuepress/docs folder, run the following command
npx vuepress version docs ${VERSION}Example: npx vuepress version docs 1.0.1.
This will preserve the documents found in ./vuepress/docs to ./vuepress/website/versioned_docs/1.0.1.
This is managed by a vuepress versioning plugin.
The latest version will automatically be loaded when access the website, with a version drop-down list appearing on the top left (next to the Mojaloop logo). Here you can select the different versions that have been archived in the ./vuepress/website/versioned_docs/ folder, with next representing the working folder ./vuepress/docs.
We deploy these docs automatically with CircleCI upon merges to the main branch.
Go to: https://ref-arch-docs.moja-lab.live/ to see the live site!
The deploy script does not currently take versioning into account, but will in the future.
Note: for this to work, we have temporarily disabled the "only build pull requests" setting on Circleci Someone please remember to turn that back on!
You can also deploy them manually, by running:
./scripts/_deploy_preview_s3.shNote that you need to have the aws cli, AWS access, and aws-mfa set up on your machine for this to work.
Apache License. Version 2.0
See ./license for more information.