Skip to content
Permalink
Browse files

s/ducklight/gooselight/g

  • Loading branch information...
ruebot committed Feb 15, 2019
1 parent 324171b commit d7b141e41a7496403ef52699e5be755ff669bf51
Showing with 30 additions and 19 deletions.
  1. +23 βˆ’14 README.md
  2. +2 βˆ’1 app/models/solr_document.rb
  3. +1 βˆ’0 app/views/catalog/_index_header.html.erb
  4. +1 βˆ’1 app/views/shared/_header_navbar.html.erb
  5. +1 βˆ’1 config/cable.yml
  6. +1 βˆ’1 config/environments/production.rb
  7. +1 βˆ’1 package.json
@@ -1,24 +1,33 @@
# README
# GooseLight

This README would normally document whatever steps are necessary to get the
application up and running.
![gooselight](https://seeklogo.com/images/D/Duck_Hunt-logo-8044A0A3B6-seeklogo.com.png)

Things you may want to cover:
A [Project Blacklight](http://projectblacklight.org/) application for Lucene indexes built by [Anserini](https://github.com/castorini/Anserini).

* Ruby version
## Requirements

* System dependencies
* [Ruby](https://www.ruby-lang.org/en/) 2.2 or later
* Java 8+
* Solr 7.6.0+
* [solr_wrapper](https://github.com/cbeer/solr_wrapper) (for development)

* Configuration
## Usage

* Database creation
### dev

* Database initialization
* Get an Anserini Lucene index
* Get an Ansersini Solr [configset](https://github.com/castorini/SolrAnserini)
* Start Solr with an Anserini Solr configset
* `solr_wrapper -i /path/to/solr-7.6.0 -d /path/to/SolrAnserini/configsets/core17 -n core17 --persist`
* `git clone git@github.com:ruebot/gooselight.git`
* ` cd gooselight`
* `bundle install`
* `rails db:migrate`
* `rails s`
* http://localhost:3000

* How to run the test suite
### prod

* Services (job queues, cache servers, search engines, etc.)
## License

* Deployment instructions

* ...
This application is available as open source under the terms of the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).
@@ -28,7 +28,8 @@ def display_tweet
embedded_tweet = embed_query_response_json['html']
embedded_tweet.html_safe
else
'Sorry, you are not authorized to see this status.'
#'Sorry, you are not authorized to see this status.'
nil
end
end
end
@@ -4,6 +4,7 @@
How many bootstrap columns need to be reserved
for bookmarks control depends on size.
-%>

<% document_actions = capture do %>
<% # bookmark functions for items/docs -%>
<%= render_index_doc_actions document, wrapping_class: "index-document-functions col-sm-3 col-lg-2" %>
@@ -1,6 +1,6 @@
<nav class="navbar navbar-expand-md navbar-dark bg-dark topbar" role="navigation">
<div class="<%= container_classes %>">
<h1><%= link_to "DuckLight", root_path, style: 'color:white; text-decoration: none;' %></h1>
<h1><%= link_to "GooseLight", root_path, style: 'color:white; text-decoration: none;' %></h1>
<%= link_to application_name, root_path, class: 'mb-0 navbar-brand', style: 'margin-left: 10px;'%>
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#user-util-collapse" aria-controls="user-util-collapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
@@ -7,4 +7,4 @@ test:
production:
adapter: redis
url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
channel_prefix: ducklight_production
channel_prefix: gooselight_production
@@ -61,7 +61,7 @@

# Use a real queuing backend for Active Job (and separate queues per environment)
# config.active_job.queue_adapter = :resque
# config.active_job.queue_name_prefix = "ducklight_#{Rails.env}"
# config.active_job.queue_name_prefix = "gooselight_#{Rails.env}"

config.action_mailer.perform_caching = false

@@ -1,5 +1,5 @@
{
"name": "ducklight",
"name": "gooselight",
"private": true,
"dependencies": {}
}

0 comments on commit d7b141e

Please sign in to comment.
You can’t perform that action at this time.