Equal-Vote / star-server

STAR Voting is an upgrade to our current way of voting that allows voters to score candidates from 0 to 5. Ultimately, STAR Voting elects candidates who better represent the whole of the electorate. We are building a site that lets everyone from individuals to organizations use STAR Voting to host simple polls or run secure elections.
GNU Affero General Public License v3.0
10 stars 18 forks source link

Azure Prod Launch #354

Open ArendPeter opened 11 months ago

ArendPeter commented 11 months ago
ArendPeter commented 11 months ago

For the keycloak redirect to work we need to set the following environment variable from frontend/sample.env

REACT_APP_KEYCLOAK_URL=https://auth.star.vote:8443/realms/STARVotingDev/protocol/openid-connect

This will probably require updating the docker setup in github actions

ArendPeter commented 11 months ago

Here's my proposal for handling the domain names

Phase 0: Current situations

star.vote -> <original star.vote website>

Phase 1: Next step, we can do this whenever

star.vote -> <original star.vote website>
classic.star.vote -> <original star.vote website>
beta.star.vote -> <new azure hosted star.vote> 

Phase 2: Release star.vote 2.0

star.vote -> <new azure hosted star.vote> 
classic.star.vote -> <original star.vote website>
beta.star.vote -> <new azure hosted star.vote> 

At the start of phase 2, we could have the new website have a popup asking if the user wants to try the new experience, or go back to classic, but we'll remove that popup eventually

ArendPeter commented 11 months ago

We've set dev.star.vote to point to the azure server