This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hyrax notes | |
## Local fullstack development install | |
Centos 7 | |
ruby 2.4.2 | |
rails 5.0.6 | |
fits 1.2.0 | |
hyrax v2.1.0.rc2 | |
fedora 4.7.3 | |
solr 6.6.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tldr | |
dough1 | |
3 cups all-purpose flour plus additional for kneading | |
1 cup water | |
1 large egg | |
2 teaspoons vegetable oil | |
1 teaspoon salt | |
knead, invert bowl over dough, let stand at room temp 1 hour. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[vagrant@localhost current]$ sudo /usr/local/bin/rails hyrax:default_admin_set:create RAILS_ENV=production | |
Warning: the running version of Bundler (2.1.2) is older than the version that created the lockfile (2.1.3). We suggest you to upgr$ | |
de to the version that created the lockfile by running `gem install bundler:2.1.3`. | |
rails aborted! | |
RSolr::Error::Http: RSolr::Error::Http - 400 Bad Request | |
Error: { | |
"responseHeader":{ | |
"status":400, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[vagrant@localhost current]$ sudo su - deploy | |
[deploy@localhost ~]$ cd /opt/oars/current | |
[deploy@localhost current]$ RAILS_ENV=production bundle exec rake hyrax:default_collection_types:create | |
Default collection type is user_collection | |
Default collection type is admin_set | |
[deploy@localhost current]$ RAILS_ENV=production bundle exec rake hyrax:default_admin_set:create | |
Successfully created default admin set | |
[deploy@localhost current]$ RAILS_ENV=production bundle exec rake hyrax:workflow:load | |
I, [2020-01-30T22:21:52.456050 #24648] INFO -- : Loading permission_template ID=1 with workflow config /opt/oars/release | |
s/20200130T214929/config/workflows/default_workflow.json |