Update README.rst#302
Conversation
| ``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`` |
There was a problem hiding this comment.
The T option didn't worked for me, did it worked for you like that @kehach07 ?
There was a problem hiding this comment.
Hi @sabderemane,
Yes, it worked on my setup. I believe the -rT option was already present before my changes, so I kept it as is.
From what I understand, -T treats the destination as a normal path instead of creating an additional nested directory. If -T is not working on your environment, we could use an alternative such as:
cp -r ../djangoproject.com/djangoproject/static/js/* trac-env/htdocs/js/or
cp -r ../djangoproject.com/djangoproject/static/js/. trac-env/htdocs/js/which should copy the contents into the destination directory without relying on the -T flag.
Let me know what you think.
There was a problem hiding this comment.
Great! I think we could stick to the first one, technically we don't have any dot files in the js folder to copy so worth to stick to the first command.
There was a problem hiding this comment.
@sabderemane Hi, I’ve made the requested changes. Please let me know if anything else is required.
Update README static asset paths and Docker SCSS commands for local Trac setup