From 5095210b3870f0f0d1d962bb1e1c571d94211fa2 Mon Sep 17 00:00:00 2001 From: keha chandrakar <158471453+kehach07@users.noreply.github.com> Date: Sun, 31 May 2026 16:27:54 +0530 Subject: [PATCH 1/4] Update README.rst --- README.rst | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index 27084d4..f234b9f 100644 --- a/README.rst +++ b/README.rst @@ -54,13 +54,14 @@ Assumes that `code.djangoproject.com` and `djangoproject.com` are stored in the same directory (adjust paths if needed). 1. Copy the generated CSS: - ``cp ../djangoproject.com/static/css/*.css trac-env/htdocs/css/`` -2. Copy _utils.scss (needed by trackahacks.scss): - ``cp ../djangoproject.com/static/scss/_utils.scss scss/`` + ``cp ../djangoproject.com/djangoproject/static/css/*.css trac-env/htdocs/css/`` +2. Copy _utils.scss (needed by trachacks.scss): + ``cp ../djangoproject.com/djangoproject/static/scss/_utils.scss scss/`` 3. Copy the javascript directory: - ``cp -rT ../djangoproject.com/static/js trac-env/htdocs/js`` -4. Compile trackhacks.scss: - ``make compile-scss`` + ``cp -rT ../djangoproject.com/djangoproject/static/js trac-env/htdocs/js`` +4. Compile trachacks.scss:: + docker compose exec trac make compile-scss + docker compose restart trac How to recreate `trac.sql` after upgrading Trac ----------------------------------------------- From 4d4e040bb06780b981266e82583b63e459a7c9f1 Mon Sep 17 00:00:00 2001 From: keha chandrakar <158471453+kehach07@users.noreply.github.com> Date: Thu, 11 Jun 2026 23:03:24 +0530 Subject: [PATCH 2/4] Update README.rst --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index f234b9f..a89e5a0 100644 --- a/README.rst +++ b/README.rst @@ -58,7 +58,7 @@ same directory (adjust paths if needed). 2. Copy _utils.scss (needed by trachacks.scss): ``cp ../djangoproject.com/djangoproject/static/scss/_utils.scss scss/`` 3. Copy the javascript directory: - ``cp -rT ../djangoproject.com/djangoproject/static/js trac-env/htdocs/js`` + ``cp -r ../djangoproject.com/djangoproject/static/js/* trac-env/htdocs/js/`` 4. Compile trachacks.scss:: docker compose exec trac make compile-scss docker compose restart trac From 6e34b99d58e1388cc64d4213325f3f6981910ed6 Mon Sep 17 00:00:00 2001 From: keha chandrakar <158471453+kehach07@users.noreply.github.com> Date: Fri, 26 Jun 2026 09:20:13 +0530 Subject: [PATCH 3/4] Update README.rst docs: resolve pull request feedback by updating scss paths and inline compilation scripts --- README.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index a89e5a0..d3724c9 100644 --- a/README.rst +++ b/README.rst @@ -56,12 +56,16 @@ same directory (adjust paths if needed). 1. Copy the generated CSS: ``cp ../djangoproject.com/djangoproject/static/css/*.css trac-env/htdocs/css/`` 2. Copy _utils.scss (needed by trachacks.scss): - ``cp ../djangoproject.com/djangoproject/static/scss/_utils.scss scss/`` + ``cp ../djangoproject.com/djangoproject/scss/_utils.scss scss/`` 3. Copy the javascript directory: ``cp -r ../djangoproject.com/djangoproject/static/js/* trac-env/htdocs/js/`` 4. Compile trachacks.scss:: - docker compose exec trac make compile-scss - docker compose restart trac + + docker compose exec trac make compile-scss + docker compose restart trac + + For non-Docker local environments, manually compile the source layout bundle using: + ``sassc scss/trachacks.scss trac-env/htdocs/css/trachacks.css -s compressed`` How to recreate `trac.sql` after upgrading Trac ----------------------------------------------- From 0b536b13631185c550ed28b701ef32f293d50e2f Mon Sep 17 00:00:00 2001 From: keha chandrakar <158471453+kehach07@users.noreply.github.com> Date: Fri, 26 Jun 2026 09:21:58 +0530 Subject: [PATCH 4/4] Update README.rst docs: resolve pull request feedback by updating scss paths and inline compilation scripts --- README.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index d3724c9..f4d1a99 100644 --- a/README.rst +++ b/README.rst @@ -61,11 +61,11 @@ same directory (adjust paths if needed). ``cp -r ../djangoproject.com/djangoproject/static/js/* trac-env/htdocs/js/`` 4. Compile trachacks.scss:: - docker compose exec trac make compile-scss - docker compose restart trac + docker compose exec trac make compile-scss + docker compose restart trac - For non-Docker local environments, manually compile the source layout bundle using: - ``sassc scss/trachacks.scss trac-env/htdocs/css/trachacks.css -s compressed`` + For non-Docker local environments, manually compile the source layout bundle using: + ``sassc scss/trachacks.scss trac-env/htdocs/css/trachacks.css -s compressed`` How to recreate `trac.sql` after upgrading Trac -----------------------------------------------