-
Notifications
You must be signed in to change notification settings - Fork 38
Local Development Setup
- Table of Contents
- Step 1: Build CSP from Source
- Step 2: Configuring Git and GitHub for Development
- Guidelines
To work on CSP, you are going to need to build it from source. See Build CSP from Source for detailed build instructions.
Once you've built CSP from a git
clone, you will also need to
configure git
and your GitHub account for CSP development.
The first step is to create a personal fork of CSP. To do so, click the "fork" button at https://github.com/Point72/csp, or just navigate here in your browser. Set the owner of the repository to your personal GitHub account if it is not already set that way and click "Create fork".
Next, you should set some names for the git
remotes corresponding to
main Point72 repository and your fork. See the GitHub Docs for more information.
If you have not already configured ssh
access to GitHub, you can find
instructions to do so
here,
including instructions to create an SSH key if you have not done
so. Authenticating with SSH is usually the easiest route. If you are working in
an environment that does not allow SSH connections to GitHub, you can look into
configuring a hardware
passkey
or adding a personal access
token
to avoid the need to type in your password every time you push to your fork.
After developing a change locally, ensure that both lints and tests pass. Commits should be squashed into logical units, and all commits must be signed (e.g. with the -s
git flag). CSP requires Developer Certificate of Origin for all contributions.
If your work is still in-progress, open a draft pull request. Otherwise, open a normal pull request. It might take a few days for a maintainer to review and provide feedback, so please be patient. If a maintainer asks for changes, please make said changes and squash your commits if necessary. If everything looks good to go, a maintainer will approve and merge your changes for inclusion in the next release.
Please note that non substantive changes, large changes without prior discussion, etc, are not accepted and pull requests may be closed.
This wiki is autogenerated. To made updates, open a PR against the original source file in docs/wiki
.
Get Started (Tutorials)
Concepts
- CSP Node
- CSP Graph
- Historical Buffers
- Execution Modes
- Adapters
- Feedback and Delayed Edge
- Common Mistakes
How-to guides
- Use Statistical Nodes
- Create Dynamic Baskets
- Write Adapters:
- Profile CSP Code
References
- API Reference
- Glossary of Terms
- Examples
Developer Guide