I’m having some trouble customizing the Rancher UI. I’ve been following the steps explained here by vincent: How can I customize UI?
I can see any changes I’ve made using “npm start” to test the app successfully (all I did was change the hexadecimal color values in the header to green to test that the changes are working).
When I run “./scripts/build-static -l”, it says I get a successful build, then I upload the dist/static/latest folder to a vm on digital ocean. I’m using nginx to serve the files.
I don’t think this step is the problem though, I set up a dummy index.html file in the / directory of the vm to display “hello”. changing the api.ui.index to “http://ipaddress/” successfully shows “hello” when i open up rancher on localhost:8080.
I think the problem is when i run the build script, but I don’t know why it wouldn’t build the changes into the /latest file.
Any help would be much appreciated,