Skip to content

Commit d107d08

Browse files
committed
docs(readme): reorganise installation section
Move pip/uv installation to the top as the primary method. Relocate Nix development setup to a new "Development" section at the bottom, making it clear Nix is for contributors. Also add direnv allow instruction for automatic environment activation.
1 parent 7404a57 commit d107d08

File tree

1 file changed

+27
-24
lines changed

1 file changed

+27
-24
lines changed

README.md

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -29,30 +29,6 @@ StackOne AI provides a unified interface for accessing various SaaS tools throug
2929

3030
## Installation
3131

32-
### Using Nix (Recommended for Development)
33-
34-
If you have [Nix](https://nixos.org/) installed with flakes enabled:
35-
36-
```bash
37-
# Enter development environment (auto-installs dependencies and git hooks)
38-
nix develop
39-
40-
# Format code
41-
nix fmt
42-
43-
# Run checks
44-
nix flake check
45-
```
46-
47-
The Nix development environment includes:
48-
49-
- Python with uv package manager
50-
- Automatic dependency installation
51-
- Git hooks (treefmt + ty) auto-configured
52-
- Consistent environment across all platforms
53-
54-
### Using pip/uv
55-
5632
```bash
5733
pip install 'stackone-ai[mcp]'
5834

@@ -359,6 +335,33 @@ For more examples, check out the [examples/](examples/) directory:
359335
- [CrewAI Integration](examples/crewai_integration.py)
360336
- [Meta Tools](examples/meta_tools_example.py)
361337

338+
## Development
339+
340+
### Using Nix (Recommended)
341+
342+
[Nix](https://nixos.org/) with flakes provides a consistent development environment:
343+
344+
```bash
345+
# Enter development environment (auto-installs dependencies and git hooks)
346+
nix develop
347+
348+
# Or with direnv (recommended for automatic activation)
349+
direnv allow
350+
351+
# Format code
352+
nix fmt
353+
354+
# Run checks
355+
nix flake check
356+
```
357+
358+
The Nix development environment includes:
359+
360+
- Python with uv package manager
361+
- Automatic dependency installation
362+
- Git hooks (treefmt + ty) auto-configured
363+
- Consistent environment across all platforms
364+
362365
## License
363366

364367
Apache 2.0 License

0 commit comments

Comments
 (0)