Closed
Bug 1102212
Opened 10 years ago
Closed 10 years ago
please enable new balrog ui on aus4-admin-dev
Categories
(Infrastructure & Operations Graveyard :: WebOps: Product Delivery, task)
Infrastructure & Operations Graveyard
WebOps: Product Delivery
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: bhearsum, Assigned: cturra)
References
Details
(Whiteboard: [kanban:webops:https://kanbanize.com/ctrl_board/4/1893] )
Over in bug 1096531 we've just finished adding the new Balrog ui as a submodule to the existing Balrog repository and we'd like to get it enabled on the hosted apps as soon as possible. I'd like to get it enabled on dev to start with, but mostly just to make sure it doesn't break any existing functionality. Once that's confirmed we'll be ready for stage and prod. cturra and I talked about this briefly, but here's a recap of the details: * The new UI is an Angular app, so it's 100% static files. * The index page for the new UI is "ui/dist/index.html" (relative to the "balrog" repository). * It must be hosted on the same domain as the API. * Angular doesn't work very well when hosted in a subdirectory, but we can't move the existing wsgi app to a subdirectory just yet either. My work around in local testing for this has been as follows, but perhaps someone else has a better way: Alias /ui /home/vagrant/project/ui/dist/ RewriteEngine On RewriteRule ^/css/app.css /ui/css/app.css [PT] RewriteRule ^/js/app.js /ui/js/app.js [PT] RewriteRule ^/favicon.ico /ui/favicon.ico [PT] RewriteRule ^/img(.*) /ui/img$1 [PT] RewriteRule ^/fonts(.*) /ui/fonts$1 [PT] WSGIScriptAlias / /home/vagrant/project/admin.wsgi
Assignee | ||
Updated•10 years ago
|
Assignee: server-ops-webops → cturra
Assignee | ||
Comment 1•10 years ago
|
||
the balrog 2.0 admin ui should be good to go in dev \o/ https://aus4-admin-dev.allizom.org/ui/
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 2•10 years ago
|
||
Thank you Chris! I'm swamped with Firefox 34 mechanics this week, I'll verify this next week.
Reporter | ||
Comment 3•10 years ago
|
||
Things are looking good here. There's a minor issue that you can't refresh (because rewrites break the real URLs), but we'll fix that by moving either the ui or the api to its own domain in a month or two. Thanks Chris! I filed bug 1104163 to enable for stage and prod.
Status: RESOLVED → VERIFIED
Updated•8 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•