rodekruis / helpful-information

A web-app for People Affected to lookup useful organizations and information.
Apache License 2.0
2 stars 2 forks source link

Copy code from the 121 repo to this repo #7

Closed gulfaraz closed 3 years ago

gulfaraz commented 3 years ago
elwinschmitz commented 3 years ago

We've had an item on our backlog to do this, but apparently that isn't used for this task?

It would've been nice to take the history of the app with you going forward. See: https://docs.github.com/en/free-pro-team@latest/github/using-git/splitting-a-subfolder-out-into-a-new-repository

There are also some files in the Referral-app that aren't necessarily required, so they can be removed:

(Not sure if you still have access, but see: https://dev.azure.com/redcrossnl/121%20Platform/_workitems/edit/5072 )

gulfaraz commented 3 years ago

@elwinschmitz Yes, we're tracking this task via this GitHub issue and not on DevOps so not aware of what was planned there. I've only moved the code and still have a lot to clean up. I'll note to remove the files you mentioned.

I believe you had set up the Static Web App on the other repo. Do you know what I might need to reconnect the Static Web App to this repo instead?

Thank you for looking into this task.

elwinschmitz commented 3 years ago

I'm not sure exactly anymore, but I think it is sort-of a one-way integration, based on the API-token: https://github.com/global-121/121-platform/blob/master/.github/workflows/azure-static-web-apps-ashy-water-006b5e603.yml#L43

It is a token you can see/refresh in the Azure Portal, somewhere on the top of the global121referral StaticWebApp Overview-page is a "Manage deployment token"-button.

Another way would be to set up a new StaticWebApp (in a different resource-group etc) and connect the (sub-)domain to that and remove the connection of the domain to the '121'-version...

gulfaraz commented 3 years ago

@ORCANLRC @rjager-rodekruis @nadiyemeral

  1. The Helpful Information app has moved to this repository.
  2. The code from this repo deploys to https://calm-pond-0e01be103.azurestaticapps.net/
  3. I've also set-up a stage environment https://green-pebble-0707a6b03.azurestaticapps.net/
    • This is a duplicate of the production environment but intended for our use only
    • For us to try out changes without the risk of breaking the app for our users
    • The Google Sheet linked to this app is Amsterdam
    • Azure resource which hosts this app
      1. You should have received access to the linked sheets, if not please create an issue and tag me.
      2. Once you're certain that the production deployment works as desired (which it should because it's the same code), we should make a request to OGD to update the domain https://helpfulinformation.redcross.nl/ to the production environment
        • I've created a separate issue #14 to track this task
ORCANLRC commented 3 years ago

@nadiyemeral Please check the URL and make a PPT with feedback from this repo deploys to https://calm-pond-0e01be103.azurestaticapps.net/

nadiyemeral commented 3 years ago

@ORCANLRC @gulfaraz Here is the ppt with feedback of bugs I found! HIA calm-pond.pptx

ORCANLRC commented 3 years ago

@nadiyemeral super PPT can you add the temp solutions for Anne in a string in teams and ALSO add frequent simple issues ( that can be resolved through google sheet*)

@gulfaraz we are good to migrate for now! HIA.calm-pond oc response as PO decions.pptx