Skip to content

Instantly share code, notes, and snippets.

View mnyrop's full-sized avatar
🥶
ice guy

marii¨ mnyrop

🥶
ice guy
View GitHub Profile
@mnyrop
mnyrop / cap-pem-sdr-notes.md
Created September 21, 2023 20:37
ssh into and/or deploy to sdr rails ec2 2023

SSH & Cap Notes

Set up SSH access

  1. Check spreadsheet for up-to-date IP & key info from dlts devops
  2. Request copy of correct pem file from dlts dev ops (in our case dlts-aws-sdr.pem) and download it.
  3. Copy the pem key from its current location (e.g., Downloads) to the path Capistrano (our deploy tool) expects using the following command:
    cp ~/Downloads/dlts-aws-sdr.pem ~/.ssh/dlts-aws-sdr.pem

check stuff

  • brew doctor # check that you're ready to brew
  • which openssl # see what openssl you have

if not openssl isn't v1 via brew (current is 3 but incompatible)

  • brew install openssl@1.1 # install it
  • echo 'export PATH="/opt/homebrew/opt/openssl@1.1/bin:$PATH"' >> ~/.zshrc # configure it
  • export LDFLAGS="-L/opt/homebrew/opt/openssl@1.1/lib"
  • export CPPFLAGS="-I/opt/homebrew/opt/openssl@1.1/include"

Marii and Alex meet to plan the future of Wax…

Here are some of the ideas that surfaced

Note: Checkboxes designate if a tangible issue has been created and added to project board.

  • wax_tasks#91 > Produce separate JSON file instead of adding to data CSV #tasks
  • Namespace wax-protected fields (e.g., wax:full_image wax:largest_image wax:thumbnail wax:iiif_manifest) #tasks #theme
  • Allow config of metatada dictionary in item layout without having to edit layout directly #theme
  • Make variables configurable for OpenSeadragon #theme
Sociology
XE: Experimental Humanities (GSAS)
XE: Experimental Humanities and Social Engagement
XE: Experimental Humanities and Social Engagement
GSAS Hebrew and Judaic Studies
Center for Latin American and Caribbean Studies

log

9.28.2022

  • Created IAM group sam-service-access with permissions to manage IAM, S3, Lambda, CloudFormation, and CloudFront.
  • Created user aperitiiif-sam-deploy within sam-service-access to inherit policies.
  • Created an NYU Web Hosting Bitwarden account w/ credentials in Box
  • Added aperitiiif-sam-deploy credentials to NYU Web Hosting Bitwarden account
  • Downloaded Bitwarden CLI client locally via npm and logged in for programmatic access to aperitiiif-sam-deploy AWS credentials.
  • Made sure AWS-CLI, SAM-CLI, and Docker were installed.
  • Made sure Docker was running.
  1. Install GitForWindows

skip if you already have GitBash working

  1. Uninstall "ImageMagick Display" app if you installed it previously.

skip if running convert -version in GitBash gives you something like Version: ImageMagick 7.0.11-1 .....

  1. Install Ruby using the RubyInstaller for Windows 10

IMPORTANT! Make sure you install a Ruby version > 2.4 and less than 3.0! Recommended is “Ruby+Devkit 2.7.3-1”. On the last step of the installation wizard, make sure to run the ridk install option. skip if running ruby -v in GitBash gives you a proper version >=2.4 & < 3.0

  1. Install ImageMagick by following the instructions on the ImageMagick Downloads page

IMPORTANT!!! About half way down one of the install option menus is a checkbox with something like “Install legacy components (convert.exe etc)”. Tick this box!!!!!!!

  1. Follow instructions on