Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,18 @@ 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/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 -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

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
-----------------------------------------------
Expand Down
Loading