Skip to content
Jennings Zhang edited this page Jul 23, 2024 · 3 revisions

This wiki describes developing aiochris itself. For client-side documentation of aiochris, see https://fnndsc.github.io/aiochris

Developing

Install rye.

Setup

git clone [email protected]:FNNDSC/aiochris.git
cd aiochris
rye sync

Testing

  1. Start up miniCHRIS

  2. rye run pytest

Code Formatting

rye fmt

Preview Documentation

pdoc can run its own HTTP server with hot-reloading:

rye run pdoc -p 7777 --no-browser --docformat numpy aiochris

However it can be buggy, so alternatively build the documentation and use http.server:

rye run pdoc -o /tmp/pdoc --docformat numpy aiochris && rye run python -m http.server -d /tmp/pdoc 7777

Contributing Guidelines

Clone this wiki locally