hcarter333 / ham-radio-freedom

0 stars 0 forks source link

Update per question help entries #8

Open hcarter333 opened 1 year ago

hcarter333 commented 1 year ago

Using the data entity console at https://console.cloud.google.com/datastore/entities;kind=HamHelp ... Add help topic entries to the new question pool. image

I'll be updating whether or not the GUI input works on the new app.

hcarter333 commented 1 year ago

Trying to arrive at a good strating point since the new project currently does not have HamHelp (I really need to get the loal testing environment set up. This will obviate some of these issues... I think.) Looks like this might help to just copy the data over https://stackoverflow.com/questions/63668785/how-to-copy-a-gcp-datastore-entity-to-another-project It references: https://stackoverflow.com/questions/60479107/export-gcp-datastore-and-import-to-a-different-gcp-project

From https://console.cloud.google.com/datastore/import-export ... looks helpful: image

Going with public access to the HamHelp data, I don't know if the second project also owned by me is considered 'the public' or not

image

Export is up and running: image

All Done: image

Now, let's see if the data is available to import in the new project. It's not obvious how to pull it in from hamdaise, but it might work to transfer it from the original app: image

next screen: image

Look around here for repeating this: https://console.cloud.google.com/storage/browser/hamhelp_transfer;tab=objects?

Running: image

Done? image

The data isn't in the entity browser yet, but I do beleive it's available for import: image

Ohhhhh, it's failing because the kind I'd like to import to doesn't exist yet... go figure... image

Creating the entity by hand seems to have done the trick: image

It says it's successful: image

And it is! image

hcarter333 commented 1 year ago

Now the trick will be to point the help files at the correct question numbers. The first set of updates have been made. It was very clunky. I need to develop code and/or a UI to make this more simple. However, the system is back up and running as demo'ed by the Django filled out help link arrays! image and image

hcarter333 commented 1 year ago

Updated the Ohm's law questions image

image