Split Evaluator is an open source project and we welcome feedback and contribution. Find below information about how to build the project with your changes, how to run the tests and how to send the PR.
- Fork the repository and create a topic branch from
development
branch. Please use a descriptive name for your branch. - While developing, use descriptive messages in your commits. Avoid short or meaningless sentences like "fix bug".
- Make sure to add tests for both positive and negative cases.
- Run the linter script of the project and fix any issues you find.
- Run the build script and make sure it runs with no errors.
- Run all tests and make sure there are no failures.
git push
your changes to GitHub within your topic branch.- Open a Pull Request(PR) from your forked repo and into the
development
branch of the original repository. - When creating your PR, please fill out all the fields of the PR template, as applicable, for the project.
- Check for conflicts once the pull request is created to make sure your PR can be merged cleanly into
development
. - Keep an eye out for any feedback or comments from Split's SDK team.
If you're just trying to run the Node app, run npm install
on the root of the project. No extra build steps needed.
If you want to build a Docker Image, you need to execute the following command at root folder:
docker build -t splitsoftware/split-evaluator:X.X.X .
You can run npm run test
for running all the unit tests placed in the project.
If you want to check linting, you can run npm run lint
.
If you have any other questions or need to contact us directly in a private manner send us a note at sdks@split.io.