diff --git a/README.rst b/README.rst index 27084d4..f4d1a99 100644 --- a/README.rst +++ b/README.rst @@ -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 -----------------------------------------------