-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Staging switch #587
Staging switch #587
Conversation
the relocateHandler service is to allow switching between the different deployments of arethusa (e.g. a main and a staging deployment). would be a bit nicer if this worked liked the exitHandler as an icon in the nav bar but I wanted to allow the possibility of supporting multiple locations and doing a dropdown on the click on the icon was more than I wanted to deal with for now. So the directive is just a basic list.
when merged to master this will be updated to use the sass variables $button-color and $button-color-hover
I think we can go ahead and deploy the changes (although I've not tested the changes, just read the source). |
thanks @Christof ! |
This is not the most beautiful or full-featured implementation, but I hope it will do for now. The idea is just to provide a quick way for users to access the staging environment to help us test and try out new features.
In a ideal world, I would have implemented this in a way that is a little more robust ...e .g. some better things to do would be:
But I don't have a lot of time to put into it right now and really need this deployed on Perseids ASAP.
As currently coded, we'll just have to have different versions of the perseids.json conf file in the deployment branch and in the master branch to have different configurations for the relocation handler for each.
@Christof @LFDM if either of you want to give me the nod to go ahead with it as-is over the weekend, I would very much appreciate it. If not, I will do without :) My plan is to merge and deploy on Monday 19 January first in this branch, and then master (deploying master to staging on Perseids)