Prerequisites
Before you begin, ensure you have the following installed:- Node.js (v18 or higher)
- pnpm (v9.15.4 or higher)
- Python (v3.9 or higher)
- Rust (latest stable) - for native modules
- Git - for version control
Install Node.js and pnpm
Install Node.js and pnpm
Install Python
Install Python
Install Rust
Install Rust
Installation
Set Up Environment Variables
Create a Key environment variables:
.env file in the root directory:OLIS_INTENT_MODEL- Model name for intent detectionOLIS_INTENT_REMOTE_URL- URL for hosted intent serviceOLIS_DOCS_FOLDER- Path to document folder for context
Running the Applications
Electron Desktop Client
http://localhost:3000 in development mode.
API Server
Chrome Extension
Verify Installation
Run the following commands to verify everything is set up correctly:Check All Apps
Check All Apps
Verify Nx Setup
Verify Nx Setup
Next Steps
Explore Architecture
Learn about the system architecture and design patterns
Development Guide
Deep dive into development workflows and best practices
API Reference
Explore the API endpoints and integration options
Contributing
Learn how to contribute to the Olis project
Troubleshooting
Native Module Build Failures
Native Module Build Failures
If you encounter errors building native modules:Windows Note: If Electron is running, it may lock
keytar.node. Stop all Electron instances before rebuilding.Port Already in Use
Port Already in Use
If port 3000 is already in use:
Python Environment Issues
Python Environment Issues
If you encounter Python dependency issues: