18F / epa-notice

Web interface for viewing and commenting on proposed changes to federal regulations
Other
7 stars 17 forks source link

Avoid auto-collectstaticing when deploying #360

Closed cmc333333 closed 8 years ago

cmc333333 commented 8 years ago

The cloud.gov Python buildpack attempts to collectstatic before all of the environmental variables are set up (at least, that's how I'm interpreting a deploy error). We used to default to /tmp/static or similar, but recently removed that, which has negative security implications. As such, the collectstatic issue is biting us.

This sets an environment variable which tells the buildpack to avoid collectstaticing -- we do it later in the deployment, anyway.

xtine commented 8 years ago

👍