18F / atf-eregs

Container and styles for an ATF eRegs instance
https://regulations.atf.gov/
Other
9 stars 20 forks source link

Clear copied frontend *before* collectstatic. #490

Closed cmc333333 closed 6 years ago

cmc333333 commented 6 years ago

Django will look first in the compiled directory (then in the regulations-site dirs) when searching for a static file. This is the correct behavior when running the application, but not when we're building the frontend (i.e. when we're filing that compiled directory). We should clear out compiled earlier in the build script to accommodate this need.

cmc333333 commented 6 years ago

Thanks @tadhg-ohiggins