Spaces:
Running
Running
File size: 1,380 Bytes
c069d9e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# Contributing
The LynxKite 2000:MM repository lives at [https://github.com/lynxkite/lynxkite-2000](https://github.com/lynxkite/lynxkite-2000).
Bug reports, feature requests, and pull requests are welcome!
## Project structure
- `lynxkite-core`: Core types and utilities. Depend on this lightweight package if you are writing LynxKite plugins.
- `lynxkite-app`: The LynxKite web application. Install some plugins then run this to use LynxKite.
- `lynxkite-graph-analytics`: Graph analytics plugin. The classical LynxKite experience!
- `lynxkite-pillow`: A simple example plugin.
- `docs`: User-facing documentation. It's shared between all packages.
## Development setup
Install everything like this:
```bash
uv venv
source .venv/bin/activate
uvx pre-commit install
uv pip install -e 'lynxkite-core/[dev]' -e 'lynxkite-app/[dev]' -e 'lynxkite-graph-analytics/[dev]' -e lynxkite-pillow-example/
```
This also builds the frontend, hopefully very quickly. To run it:
```bash
cd examples
lynxkite
```
If you also want to make changes to the frontend with hot reloading:
```bash
cd lynxkite-app/web
npm run dev
```
## Executing tests
Run all tests with a single command, or look inside to see how to run them individually:
```bash
./test.sh
```
## Documentation
To work on the documentation:
```bash
uv pip install mkdocs-material mkdocstrings[python]
mkdocs serve
```
|