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
Copy file name to clipboardExpand all lines: README.md
+15-10
Original file line number
Diff line number
Diff line change
@@ -13,38 +13,43 @@ Note that this is a template project. You will need to make changes to this appl
13
13
pyenv install
14
14
```
15
15
16
-
2. Create a virtual environment:
16
+
2.[Install poetry](https://python-poetry.org/) to your system by following the [setup instructions](https://python-poetry.org/docs/#installation) convenient for you.
17
+
18
+
> [!IMPORTANT]
19
+
> You should **NOT** install poetry into your virtual environment as stated in their docs, as this may mess with your dependencies.
20
+
21
+
3. Create a virtual environment:
17
22
```shell
18
23
# Note: For POSIX, pyenv can create a named virtual environment which you can use instead.
19
24
# For Windows, pyenv-win exists, but doesn't have this feature afaik.
20
25
21
-
python3 -m venv venv
26
+
python3 -m venv .venv
22
27
23
28
# Windows
24
-
./venv/Scripts/activate
29
+
./.venv/Scripts/activate
25
30
26
31
# POSIX
27
-
source ./venv/bin/activate
32
+
source ./.venv/bin/activate
28
33
```
29
34
30
-
3.[Windows] Run the `scripts/dev-setup.bat` script:
35
+
4.[Windows] Run the `scripts/dev-setup.bat` script:
31
36
```shell
32
37
./scripts/dev-setup.bat
33
38
```
34
39
35
-
3.[POSIX] Run the `scripts/dev-setup.sh` shell script using any bash-compatible shell:
40
+
4.[POSIX] Run the `scripts/dev-setup.sh` shell script using any bash-compatible shell:
36
41
```shell
37
42
bash ./scripts/dev-setup.sh
38
43
```
39
44
40
-
4. Create a `.env` file from the given example and edit it:
45
+
5. Create a `.env` file from the given example and edit it:
41
46
```shell
42
47
cp .env.example .env
43
48
44
-
# Open the new .env file in your favourite editor and make the changes
49
+
# Open the new .env file in your favourite editor and make the required changes
45
50
```
46
51
47
-
5. Run the dev server using `F5` key in VSCode. You can also use the `dev-launch` shell script:
52
+
6. Run the dev server using `F5` key in VSCode. You can also use the `dev-launch` shell script:
0 commit comments