This repository contains a set of scripts, settings and procedures helping a developer set his/her own developing environemnt.
In this repository, the developers tried to simplify the procedure of building and testing the Rippled source code. For this reason, they have created several scripts that automate the procedure of building and execution of the unittests Ripple provides. Also, docker is a simple way of having the source code and its dependencies ready without the need to reconfigure the environment the code is going to be installed.
This development environment spawns two docker containers, one is used to build the source code and the other to run the unittests (, or a rippled node). Those containers share the same directory of the development machine as bind volumes.
- build_rippled.sh script builds the source code. ;
- run_rippled_unittests.sh script spawns a runner container that uses the executable generated in the BUILD_DIR;
- The environment variables used by the scripts are defined in common_vars.sh script. ;
Besides this README file, more documentation is available in the WiKi belonging to this repository.
- Clone this Repositoy
- Download or Clone Rippled Source code inside the previously cloned repository
- Run create_docker_images.sh (./scripts/create_docker_images.sh) from which you will get 3 docker images
- Run preconfigure_rippled.sh (./scripts/preconfigure_rippled.sh) which script will prepare your environment with the nesseary configurations
- Run build_rippled.sh (./scripts/build_rippled.sh) which it will compile the Ripple Source Code on your machine
- Set your working directory to build_rippled
- Run Ripple UnitTests ( ./scripts/run_rippled_unittests.sh )
- If there are no test failures, you can be fairly certain that your rippled executable compiled correctly.
To contribute to the development of the Rippled-Dev-Environment, fork the repository and create pull requests.
You may contribute to Rippled-Dev-Environment you should:
- Fork this repository;
- Work on your proposed changes, preferably through submiting issues;
- Push changes on your fork;
- Submit a Pull Request;
- Follow/answer related issues (see Feedback-Chanel, below).
The following lead developers are responsible for this repository and have admin rights. They can, for example, merge pull requests.
- Antonis Inglezakis (@ainglezakis)
- Marios Touloupou (@mtouloup)
- Marios Touloupou (@mtouloup) [ touloupos.m@unic.ac.cy ]
- Antonios Inglezakis (@antiggl) [ inglezakis.a@unic.ac.cy ]
- Klitos Christodoulou [ christodoulou.kl@unic.ac.cy ]
- Elias Iosif [ iosif.e@unic.ac.cy ]
This work is funded by the Ripple’s Impact Fund, an advised fund of Silicon Valley Community Foundation (Grant id: 2018–188546). Link: University Blockchain Research Initiative
- GitLab issues