From b2fbc80951500925e41986d07ca6dc91fca207cc Mon Sep 17 00:00:00 2001 From: Mike Fiedler Date: Fri, 20 Sep 2024 15:37:38 -0400 Subject: [PATCH 1/5] chore: remove obsolete version entry from compose Currently raises a warning: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion Signed-off-by: Mike Fiedler --- docker-compose.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4406c0ff5..1f5ea36b4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: "3.9" - services: postgres: image: postgres:15.3-bullseye From 8fe9af54208a14b952e7f6deac1364dd9c9b428d Mon Sep 17 00:00:00 2001 From: Mike Fiedler Date: Fri, 20 Sep 2024 15:38:17 -0400 Subject: [PATCH 2/5] docs: staging site does not exist Signed-off-by: Mike Fiedler --- docs/source/index.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/source/index.rst b/docs/source/index.rst index 76a201828..cfde87586 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -10,7 +10,6 @@ General information :Issue tracker: https://github.com/python/pythondotorg/issues :Mailing list: pydotorg-www_ :IRC: ``#pydotorg`` on Freenode -:Staging site: https://staging.python.org/ (``main`` branch) :Production configuration: https://github.com/python/psf-salt :GitHub Actions: .. image:: https://github.com/python/pythondotorg/actions/workflows/ci.yml/badge.svg From df51926a9469df69568af417ca08570466425901 Mon Sep 17 00:00:00 2001 From: Mike Fiedler Date: Fri, 20 Sep 2024 15:43:00 -0400 Subject: [PATCH 3/5] docs: format the link to be clickable Signed-off-by: Mike Fiedler --- docs/source/install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/install.md b/docs/source/install.md index d6c29d295..8e0e42622 100644 --- a/docs/source/install.md +++ b/docs/source/install.md @@ -55,7 +55,7 @@ web_1 | Starting development server at http://0.0.0.0:8000/ web_1 | Quit the server with CONTROL-C. ``` -You can view these results in your local web browser at: `http://localhost:8000` +You can view these results in your local web browser at: To reset your local environment, run: From 613051e9e5509c065de0173d05c06b7d31b63c3a Mon Sep 17 00:00:00 2001 From: Mike Fiedler Date: Fri, 20 Sep 2024 15:43:22 -0400 Subject: [PATCH 4/5] docs: use what's currently in docker-compose.yml Signed-off-by: Mike Fiedler --- docs/source/install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/install.md b/docs/source/install.md index 8e0e42622..2193d868e 100644 --- a/docs/source/install.md +++ b/docs/source/install.md @@ -88,7 +88,7 @@ This is a simple wrapper around running `python manage.py` in the container, all Manual setup ------------ -First, install [PostgreSQL](https://www.postgresql.org/download/) on your machine and run it. *pythondotorg* currently uses Postgres 10.21. +First, install [PostgreSQL](https://www.postgresql.org/download/) on your machine and run it. *pythondotorg* currently uses Postgres 15.x. Then clone the repository: From 7caefc22cac6196111379afcaa525cae1d641dae Mon Sep 17 00:00:00 2001 From: Mike Fiedler Date: Fri, 20 Sep 2024 15:43:58 -0400 Subject: [PATCH 5/5] docs: remove version specificity Signed-off-by: Mike Fiedler --- docs/source/install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/install.md b/docs/source/install.md index 2193d868e..c91d1bd59 100644 --- a/docs/source/install.md +++ b/docs/source/install.md @@ -99,7 +99,7 @@ $ git clone git://github.com/python/pythondotorg.git Then create a virtual environment: ``` -$ python3.9 -m venv venv +$ python3 -m venv venv ``` And then you'll need to install dependencies. You don't need to use `pip3` inside a Python 3 virtual environment: