Skip to content

Update README static asset paths for local Trac setup #299

@kehach07

Description

@kehach07

While setting up code.djangoproject.com locally, I noticed that some README commands under the section:

How to port the CSS from djangoproject.com

reference outdated paths that no longer exist.

Current README commands:

cp ../djangoproject.com/static/css/*.css trac-env/htdocs/css/
cp ../djangoproject.com/static/scss/_utils.scss scss/
cp -rT ../djangoproject.com/static/js trac-env/htdocs/js

The correct paths should reference the djangoproject package directory:

cp ../djangoproject.com/djangoproject/static/css/*.css trac-env/htdocs/css/
cp ../djangoproject.com/djangoproject/scss/_utils.scss scss/
cp -rT ../djangoproject.com/djangoproject/static/js trac-env/htdocs/js

Additionally, the SCSS compilation step should mention:

docker compose exec trac make compile-scss
docker compose restart trac

Updating these paths and commands would help contributors complete the local Trac setup successfully and avoid missing CSS/JS assets during development.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions