openaq / openaq-metadata-editor

MIT License
1 stars 1 forks source link

next steps for metadata editor #42

Closed sethvincent closed 5 years ago

sethvincent commented 5 years ago

@jflasher @olafveerman here are the rough next steps for getting this deployed on staging so it can be tested out. Let me know if I'm missing anything or if you have questions

tasks for @jflasher

tasks for @sethvincent & team after the above is complete

jflasher commented 5 years ago

@sethvincent thanks for all of this (and everyone else who has touched it so far)! There is one (small) wrinkle I listed in the openaq-api PR but everything looks good to merge. I think you are able to merge everything in, if that's not the case, let me know. If you want me to merge anything in (as I can likely monitor for initial failures more easily), just let me know what order you'd like it all done in.

For the deployment of the metadata editor, you'll probably need my help in allowing write access to the S3 buckets, just let me know when I can help there. As an FYI, we still haven't received access to GitHub Actions beta.

sethvincent commented 5 years ago

@jflasher thanks! I'll get most of the merging completed today.

Could you create and send me the encrypted env vars for the s3 access keys for the relevant buckets?

jflasher commented 5 years ago

Thanks @sethvincent! Following same pattern as https://github.com/openaq/openaq.org/blob/develop/.travis.yml, key_id is the same and encrypted secret is JmalFAU1SCF2NruC1FjpsfvBPMyyZAc0FrFefki8mC6r8QamQyv/xesq0KPQlraA1Lll0dE1b7qMdoSZNZIR8itzOlDQZXC4Hnu4HEd+vOhAkkVlCPSxF3yGvL/i2OGL+ocJmY5tlGcPzWD8TSBpLFlML5dUhUwAWIhxDXnHQuAFaC/yIkmO2lq3ldSwAy/4CVX+24wh2kg8pNms0T9FVTGSirERJwMsUFLKzXtcUd0QLWZ1j2Fao1CClSiiRX2841F0UNIkQOm5XFbIii4iCr+xtq+U1LmqoMnGi78WwR0JuZ+WgbPFfxXuHHVtQrVngOWGrSm0SJwx+IplqwVq1u/IQM+vAK36UIv0at5vZ77eGP4wOnpBA2J/Vdie/41/4+E4aIxcUBFZmtdfwolSdT9LXJrJP8KgmV3suwcbX5h/8/6dsI+7pGTi+CX9fQ4Ecs0rUtBmynNV4SP6jgJoylDRoZHAf/HZCs//JsA2nbO8E5JUf5tLAHTU0aDEI7EaMdtDO46EYnQhbeHp5MdnFrz6jZm42FqkYsIaA423X4cYsDuRph1IV6gqJiSzeGwfyDxDCFYke2+uEm3CDu10jCdTaNMcchdpg7/1VUjdq3V+A+uz8Eq/OeK1JRfPkFD7RzcJx18nNNMjHQQkiknjJc8/jNKzc9GZSjADXWFRpoo=

let me know if you run into any issues.

sethvincent commented 5 years ago

@jflasher we've got deployment to staging all set up. Currently seeing an access denied error at https://metadata.openaq-staging.org

jflasher commented 5 years ago

@sethvincent sorry, I forgot to set default object in CloudFront, that's updating now. In the meantime, I think https://metadata.openaq-staging.org/index.html may work.

sethvincent commented 5 years ago

Things are now set up and we can now do some testing on staging. Closing this issue, and we can make new issues for specific things we find during testing.