Skip to content

Commit ca9f928

Browse files
authored
Updated static asset steps in README.rst
1 parent 6022eaa commit ca9f928

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

README.rst

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,18 @@ Assumes that `code.djangoproject.com` and `djangoproject.com` are stored in the
5454
same directory (adjust paths if needed).
5555

5656
1. Copy the generated CSS:
57-
``cp ../djangoproject.com/static/css/*.css trac-env/htdocs/css/``
58-
2. Copy _utils.scss (needed by trackahacks.scss):
59-
``cp ../djangoproject.com/static/scss/_utils.scss scss/``
57+
``cp ../djangoproject.com/djangoproject/static/css/*.css trac-env/htdocs/css/``
58+
2. Copy _utils.scss (needed by trachacks.scss):
59+
``cp ../djangoproject.com/djangoproject/scss/_utils.scss scss/``
6060
3. Copy the javascript directory:
61-
``cp -rT ../djangoproject.com/static/js trac-env/htdocs/js``
62-
4. Compile trackhacks.scss:
63-
``make compile-scss``
61+
``cp -r ../djangoproject.com/djangoproject/static/js/* trac-env/htdocs/js/``
62+
4. Compile trachacks.scss::
63+
64+
docker compose exec trac make compile-scss
65+
docker compose restart trac
66+
67+
For non-Docker local environments, manually compile the source layout bundle using:
68+
``sassc scss/trachacks.scss trac-env/htdocs/css/trachacks.css -s compressed``
6469

6570
How to recreate `trac.sql` after upgrading Trac
6671
-----------------------------------------------

0 commit comments

Comments
 (0)