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
The server will start on `http://localhost:8000` by default. In test mode, the server will automatically restart if any errors are detected or if source files are modified.
104
+
The server will start on `http://localhost:52123` by default. In test mode, the server will automatically restart if any errors are detected or if source files are modified.
The server will start on `http://localhost:8001` by default. In development mode, the server will automatically restart if any errors are detected or if source files are modified.
166
+
The server will start on `http://localhost:52124` by default. In development mode, the server will automatically restart if any errors are detected or if source files are modified.
> Note that the Step No. 8 given below is not mentioned in the video, please follow that step also.
9
+
8
10
### Prerequisites:
9
11
10
12
-[NodeJS](https://nodejs.org/en) (LTS Version Recommended)
@@ -49,15 +51,15 @@
49
51
```powershell
50
52
cd .\backend
51
53
.env\Scripts\Activate.ps1
52
-
fastapi dev
54
+
fastapi dev --port 52123
53
55
```
54
56
55
57
#### Linux
56
58
57
59
```bash
58
60
cd ./backend
59
61
source .env/bin/activate
60
-
fastapi dev
62
+
fastapi dev --port 52123
61
63
```
62
64
63
65
8. Start the Sync-Microservice
@@ -69,15 +71,15 @@
69
71
```powershell
70
72
cd .\sync-microservice
71
73
.sync-env\Scripts\Activate.ps1
72
-
uvicorn main:app --port 8001 --reload
74
+
fastapi dev --port 52124
73
75
```
74
76
75
77
#### Linux
76
78
77
79
```bash
78
80
cd ./sync-microservice
79
81
source .sync-env/bin/activate
80
-
uvicorn main:app --port 8001 --reload
82
+
fastapi dev --port 52124
81
83
```
82
84
83
85
9. Start the Frontend Desktop App
@@ -91,10 +93,10 @@
91
93
92
94
10. Pre-commit Setup
93
95
94
-
Before running the `git commit` command, ensure you have the following Python packages installed globally:
96
+
Before running the `git commit` command, ensure you have the following Python packages installed globally:
95
97
96
-
```bash
97
-
pip install ruff black mypy pre-commit
98
-
```
98
+
```bash
99
+
pip install ruff black mypy pre-commit
100
+
```
99
101
100
-
> **Note:** If you are committing from a virtual environment, these packages should already be installed as they are included in the requirements.txt file.
102
+
>**Note:** If you are committing from a virtual environment, these packages should already be installed as they are included in the requirements.txt file.
0 commit comments