hull-history-centre-bl7

  • H8_619715
    了解作者
  • 2.3MB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-13 05:44
    上传日期
入门 git clone [此仓库] 捆绑安装 cp config / secrets.yml.template config / secrets.yml 编辑secrets.yml并填写值 耙db:migrate solr_wrapper和 滑轨 <<<<<<<<<保存的版本 ========= 环境变量 如果从Hyrax导入数字对象元数据并且从应用程序提供Digital Archival Objects,则应用程序需要满足以下条件: HYRAX_APP= # URL for the hyrax instance HYRAX_APP_USER= # hyrax admin user email HYRAX_APP_PASS= # hyrax admin user password HYRAX_SOLR_URL= # full solr url for the solr insta
hull-history-centre-bl7-master.zip
内容介绍
# Getting Started * git clone [this repo] * bundle install * cp config/secrets.yml.template config/secrets.yml * Edit secrets.yml and fill in values * rake db:migrate * solr_wrapper & * rails s * <<<<<<<<< saved version ========= # Environment Variables The following are required by the appliation if digital object metadata is being imported from Hyrax and Digital Archival Objects are being served from the application: ``` HYRAX_APP= # URL for the hyrax instance HYRAX_APP_USER= # hyrax admin user email HYRAX_APP_PASS= # hyrax admin user password HYRAX_SOLR_URL= # full solr url for the solr instance being used for hyrax ``` >>>>>>>>> local version # Importing Records Import all \*.xml files within a directory: ```bash rake import:ead['path/to/your/ead/files'] rake import:sirsi['path/to/your/sirsi/files'] ``` Import specific EAD files: ```bash rake import:ead['spec/fixtures/sample_ead_files/U_DDH.xml, spec/fixtures/sample_ead_files/U_DAR.xml'] ``` Note that there is not a space between the rake task name and the square bracket that begins the arguments list, and that there are qutoes around the argument list. ## PDF files Collection records have an associated pdf file that contains the collection catalogue. This is implemented by letting the web server server the files (e.g. webrick in development) and Apache http when deployed. To add some sample pdfs to the public folder of the application: ```bash rake copy:pdf ``` ## Deploying with Capistrano First, set up an ssh config entry with details about the server name used in the relevant config/deploy/[my-env].rb file. Next, connect to the server via ssh to test the config. Then you can deploy code and update the server with the command ``` bundle exec cap [my-env] deploy ``` ## Environment Variables * The environment variables used by docker when running the containers and by the rails application should be in file named .env * For docker, copy the file .env.template to .env and change / add the necessary information * For running the application without docker, setup the ENVIRONMENT VARIABLES as you would normally do so (eg. .rbenv-vars) The following are required by the appliation if digital object metadata is being imported from Hyrax and Digital Archival Objects are being served from the application: ``` HYRAX_APP= # URL for the hyrax instance HYRAX_APP_USER= # hyrax admin user email HYRAX_APP_PASS= # hyrax admin user password HYRAX_SOLR_URL= # full solr url for the solr instance being used for hyrax ``` ### Secrets Generate a new secret with: ``` rails secret ``` ## Getting Started using docker Ensure you have docker and docker-compose. See [notes on installing docker](https://github.com/research-technologies/hull_synchronizer/wiki/Notes-on-installing-docker) To build and run the system in your local environment, Clone the repository ``` git clone https://github.com/research-technologies/hull-history-centre-bl7.git ``` Issue the docker-compose `up` command: ```bash $ docker-compose up --build ``` To build and run the system in your local environment, Clone the repository ``` git clone https://github.com/research-technologies/hull-history-centre-bl7.git ``` Issue the docker-compose `up` command: ```bash $ docker-compose up --build ``` You should see the rails app at localhost:3000 (if you set EXTERNAL_PORT to a different port, it will be running on that port) ## Universal Viewer Universal Viewer is installed in the public directory using yarn, by running `yarn run install-uv` The installed version is configured in `package.json` and the viewer uses public/uv.html within the viewer frame. ## Universal Viewer Configuration The file 'public/uv_config.json' is used to determine how the universal viewer is displayed. For example, the following config disables the download button, but leaves the share button enabled: ``` { "modules": { "footerPanel": { "options": { "shareEnabled": true, "downloadEnabled": false } } } } ```
评论
    相关推荐
    • SpringBoot + solr
      学习solr写的demo https://github.com/99246255/SpringBoot-Solr
    • solr-8.3.0.tgz
      solr安装包solr-8.3.0.tgz
    • solr--6.5.1
      solr-6.5.1,亲测可用------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    • solr-linux
      solr-linux solr-linux solr-linux solr-linux solr-linux solr-linux solr-linux solr-linux solr-linux solr-linux
    • git-to-solr:将git历史记录索引到Solr存储库中
      gitsolrgit历史记录索引到Solr存储库中。 将提交的内容(文件已更改等)表示为嵌套文档。 经过Solr 4.9测试。 受和启发。 通过从Solr发行版的示例目录运行java -Dsolr.solr.home = <project> / solr -jar ...
    • solr搜索引擎
      solr搜索引擎的工具包,官方下载比较慢,目前是最新版本7.3.0
    • rspec-solr:宝石
      RSpec Solr 一个提供用于与Solr响应对象一起使用的RSpec自定义匹配器的宝石。 安装 将此行添加到您的应用程序的Gemfile中: gem 'rspec-solr' 然后执行: $ bundle 或将其自己安装为: $ gem install rspec-solr...
    • solr搜索插件
      solr用于关键字搜索插件 减压部署即可。本人亲自试用 简单好用
    • solr-7.0.0
      solr服务器,可搭建集群模式,单片按装直接点击启动。
    • GaussDB_100_1.0.1-DATABASE-REDHAT-64bit.tar.gz
      guassdb100在redhat上安装包,单机部署的包,安装步骤请看我的文中介绍,经过大量实验搭建总结出来的文档