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
Before setting up the Python backend and sync-microservice, you need to have **Miniconda** installed and set up on your system.
32
32
33
33
1.**Download and Install Miniconda:**
34
+
34
35
- Visit the [Miniconda installation guide](https://www.anaconda.com/docs/getting-started/miniconda/install#quickstart-install-instructions)
35
36
- Follow the quickstart install instructions for your operating system
36
37
- Make sure `conda` is available in your terminal after installation
@@ -75,7 +76,7 @@ Before setting up the Python backend and sync-microservice, you need to have **M
75
76
Bash/Powershell
76
77
77
78
```
78
-
conda create -n .env python=3.12
79
+
conda create -p .env python=3.12
79
80
```
80
81
81
82
3. **Activate the Conda Environment:**
@@ -86,31 +87,15 @@ Before setting up the Python backend and sync-microservice, you need to have **M
86
87
conda activate ./.env
87
88
```
88
89
89
-
4. **Update PATH (Important):** Ensure the conda environment's binaries are prioritized:
90
-
91
-
Bash (Linux/MacOS)
92
-
93
-
```
94
-
export PATH="$CONDA_PREFIX/bin:$PATH"
95
-
```
96
-
97
-
Powershell (Windows)
98
-
99
-
```
100
-
$env:PATH = "$env:CONDA_PREFIX\Scripts;$env:PATH"
101
-
```
102
-
103
-
After activating, you should be able to see the conda environment's name before the current path.
104
-
105
-
5. **Install Dependencies:** The `requirements.txt` file lists required packages. Install them using pip:
90
+
4. **Install Dependencies:** The `requirements.txt` file lists required packages. Install them using pip:
106
91
107
92
Bash/Powershell
108
93
109
94
```
110
95
pip install -r requirements.txt
111
96
```
112
97
113
-
6. **Running the backend:**: To start the backend in development mode, run this command while being in the backend folder and the conda environment activated:
98
+
5. **Running the backend:**: To start the backend in development mode, run this command while being in the backend folder and the conda environment activated:
114
99
115
100
Bash/Powershell
116
101
@@ -139,7 +124,7 @@ Before setting up the Python backend and sync-microservice, you need to have **M
139
124
Bash/Powershell
140
125
141
126
```
142
-
conda create -n .sync-env python=3.12
127
+
conda create -p .sync-env python=3.12
143
128
```
144
129
145
130
3. **Activate the Conda Environment:**
@@ -150,31 +135,15 @@ Before setting up the Python backend and sync-microservice, you need to have **M
150
135
conda activate ./.sync-env
151
136
```
152
137
153
-
4. **Update PATH (Important):** Ensure the conda environment's binaries are prioritized:
154
-
155
-
Bash (Linux/MacOS)
156
-
157
-
```
158
-
export PATH="$CONDA_PREFIX/bin:$PATH"
159
-
```
160
-
161
-
Powershell (Windows)
162
-
163
-
```
164
-
$env:PATH = "$env:CONDA_PREFIX\Scripts;$env:PATH"
165
-
```
166
-
167
-
After activating, you should be able to see the conda environment's name before the current path.
168
-
169
-
5. **Install Dependencies:** The `requirements.txt` file lists required packages. Install them using pip:
138
+
4. **Install Dependencies:** The `requirements.txt` file lists required packages. Install them using pip:
170
139
171
140
Bash/Powershell
172
141
173
142
```
174
143
pip install -r requirements.txt
175
144
```
176
145
177
-
6. **Running the sync-microservice:** To start the sync-microservice in development mode, run this command while being in the sync-microservice folder and the conda environment activated:
146
+
5. **Running the sync-microservice:** To start the sync-microservice in development mode, run this command while being in the sync-microservice folder and the conda environment activated:
0 commit comments