[mozillians] Add command ./manage.py collectstatic to update script

RESOLVED FIXED

Status

Infrastructure & Operations
WebOps: Other
P3
normal
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: giorgos, Assigned: solarce)

Tracking

Details

(Whiteboard: [push interrupt][triaged 20121025])

(Reporter)

Description

5 years ago
Hello IT!

Please add the following command on the update script of mozillians-dev,-stage and -prod

./manage.py collectstatic

after a successful pull.

Thanks!
(Assignee)

Updated

5 years ago
Assignee: server-ops-webops → bburton
Priority: -- → P3
Whiteboard: [push interrupt][triaged 20121025]
(Assignee)

Comment 1

5 years ago
What directory will the collected assets end up in?

What URL path should they be available at? e.g. mozillians.org/static/asset.js?
(Reporter)

Comment 2

5 years ago
It's going to be 

mozillians.org/media/static/blah.js
(Assignee)

Comment 3

5 years ago
Ok, I manually did it on -dev and https://mozillians-dev.allizom.org/media/static/admin/js/inlines.min.js seems to look good, I'll add to the scripts for -dev

When do you want -stage and -prod pushed so the code is live and this will work?
(Reporter)

Comment 4

5 years ago
I guess we can add the line in the scripts now, since next push to stage and prod will include the related code. What do you think?

Thanks!
(Assignee)

Comment 5

5 years ago
I added it to stage and prod, will kick in on the next push
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.