scientist-softserv / oral-history

UCLA LIBRARY-CENTER FOR ORAL HISTORY RESEARCH --Documenting the histories of Los Angeles-- The UCLA Library creates a vibrant nexus of ideas, collections, expertise, and spaces in which users illuminate solutions for local and global challenges. We constantly evolve to advance UCLA’s research, education, and public service mission by empowering and
https://oralhistory.library.ucla.edu/
0 stars 0 forks source link

i18-rails-and-blacklight-upgrade #28

Closed aprilrieger closed 1 year ago

aprilrieger commented 1 year ago

upgrade Rails to 6.1 upgrade Blacklight gem to 7.33.1

branch: i18-rails-upgrade-6point1 get .env.development here: https://start.1password.com/open/i?a=LTLZ652TT5H5FHMYMASSH7PIXM&v=huuakin4bu4xanlhktv42qheam&i=ok6rwracafccnhrhur7usyfwoi&h=scientist.1password.com

gem install stack_car -v0.16.0
gem install dory

dory up
sc build
sc up

navigate to http://oralhistory.test/users/sign_in login credentials are in the .env.development <---- stack_car will make the values in .env.development override what is in the .env file. The .env.development file should be greyed out in VS Code, listed in the .gitignore, and should never be committed, shhh they are secrets!

navigate to http://oralhistory.test/admin &&

run importer // OR // run the importer in a running web container rake db:migrate import[10] [#] <— replace "#" with amount of works you want to import.

Need troubleshooting tips? If you do a dc down -v, odds are you will want to do a rm -rf tmp/*