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
+14-16Lines changed: 14 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,11 +33,11 @@ This demo is aimed primarily at developers wanting to learn more about the inter
33
33
-[Gitpod](#setup-with-gitpod)
34
34
-[Vagrant](#setup-with-vagrant)
35
35
-[Docker](#setup-with-docker)
36
-
-[Virtualenv](#setup-with-virtualenv)
36
+
-[Venv](#setup-with-venv)
37
37
38
38
If you want to see what Wagtail is all about, we suggest trying it out through [Gitpod](#setup-with-gitpod).
39
39
If you want to set up Wagtail locally instead, and you're new to Python and/or Django, we suggest you run this project on a Virtual Machine using [Vagrant](#setup-with-vagrant) or [Docker](#setup-with-docker) (whichever you're most comfortable with). Both Vagrant and Docker will help resolve common software dependency issues.
40
-
Developers more familiar with virtualenv and traditional Django app setup instructions should skip to [Setup with virtualenv](#setup-with-virtualenv).
40
+
Developers more familiar with venv/virtualenv and traditional Django app setup instructions should skip to [Setup with venv](#setup-with-venv).
41
41
42
42
## Setup with Gitpod
43
43
@@ -119,31 +119,29 @@ To tail the logs from the Docker containers in realtime, run:
119
119
docker compose logs -f
120
120
```
121
121
122
-
## Setup with Virtualenv
122
+
## Setup with venv
123
123
124
-
You can run the Wagtail demo locally without setting up Vagrant or Docker and simply use Virtualenv, which is the [recommended installation approach](https://docs.djangoproject.com/en/stable/topics/install/#install-the-django-code) for Django itself.
124
+
You can run the Wagtail demo locally without setting up Vagrant or Docker and simply use venv, which is the [recommended installation approach](https://docs.djangoproject.com/en/5.2/topics/install/#install-the-django-code) for Django itself.
With [PIP](https://github.com/pypa/pip) and [virtualenvwrapper](https://virtualenvwrapper.readthedocs.io/en/latest/)
135
-
installed, run:
133
+
On GNU/Linux or macOS (bash):
134
+
136
135
```bash
137
-
mkvirtualenv wagtailbakerydemo
138
-
python --version
136
+
python -m venv .venv
137
+
source .venv/bin/activate
139
138
```
140
139
141
-
Confirm that this is showing a compatible version of Python 3.x. If not, and you have multiple versions of Python installed on your system, you may need to specify the appropriate version when creating the virtualenv:
0 commit comments