You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrade: Added hierarchical folder ignoring on the source folder
Major Bug Fix: Fixed race conditions introduced in get_locations
Minor Bug Fix: Made small UI/UX improvements for better user experience
---
Copy file name to clipboardExpand all lines: README.md
+47Lines changed: 47 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -169,6 +169,53 @@ Local Lens uses a hybrid architecture combining the best of web and desktop tech
169
169
3. Run the installer and follow the setup wizard
170
170
4. Launch Local Lens from your applications menu
171
171
172
+
### Option 2: Running from Source (For Developers)
173
+
174
+
This method is for developers who want to run the latest code or contribute to the project. It enables hot-reloading for both the frontend and backend.
175
+
176
+
#### 1. Setup
177
+
First, ensure you have all the [required software](#for-development) installed.
You will need two separate terminals to run the application in development mode.
202
+
203
+
**Terminal 1: Start the Backend Server**
204
+
```bash
205
+
cd backend
206
+
# Activate your virtual environment if not already active
207
+
venv\Scripts\activate
208
+
# Start the server with hot-reloading
209
+
uvicorn main:app --reload
210
+
```
211
+
The backend will be running on `http://127.0.0.1:8000`.
212
+
213
+
**Terminal 2: Start the Frontend Application**
214
+
```bash
215
+
cd frontend
216
+
npm run tauri dev
217
+
```
218
+
This will open the Local Lens desktop application, which will automatically connect to your running backend server. Changes to the Python code will auto-reload the backend, and changes to the React code will auto-reload the frontend.
0 commit comments