forked from bofh/fetsite
Corrected solr config + minor bugfixes
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -40,6 +40,7 @@ console
|
|||||||
/server
|
/server
|
||||||
/public/uploads/
|
/public/uploads/
|
||||||
/public/sitemap*
|
/public/sitemap*
|
||||||
|
/public/assets/
|
||||||
/vendor/*
|
/vendor/*
|
||||||
/bak/*
|
/bak/*
|
||||||
/solr/*
|
/solr/*
|
||||||
@@ -49,6 +50,9 @@ Gemfile.lock
|
|||||||
/config/database.yml
|
/config/database.yml
|
||||||
/config/start_topic.yml
|
/config/start_topic.yml
|
||||||
/config/contact_topic.yml
|
/config/contact_topic.yml
|
||||||
|
/config/etherpad/APIKEY.*
|
||||||
|
/config/page.yml
|
||||||
|
|
||||||
.#*
|
.#*
|
||||||
.*
|
.*
|
||||||
!/.gitignore
|
!/.gitignore
|
||||||
|
|||||||
@@ -72,16 +72,16 @@ class Document < ActiveRecord::Base
|
|||||||
unless self.is_etherpad? || self.id.nil?
|
unless self.is_etherpad? || self.id.nil?
|
||||||
self.etherpadkey="document_"+ self.id.to_s
|
self.etherpadkey="document_"+ self.id.to_s
|
||||||
|
|
||||||
if self.text.nill?
|
if self.text.nil?
|
||||||
self.ep_pad.html = '<div>'+"text"+'</div>'
|
self.ep_pad.html = '<div>'+"text"+'</div>'
|
||||||
else
|
else
|
||||||
self.ep_pad.html = '<div>'+self.text+'</div>'
|
self.ep_pad.html = '<div>'+self.text+'</div>'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
def dump_to_etherpad
|
def dump_to_etherpad
|
||||||
if self.is_etherpad?
|
if self.is_etherpad?
|
||||||
if self.text.nill?
|
if self.text.nil?
|
||||||
self.ep_pad.html = '<div>'+"text"+'</div>'
|
self.ep_pad.html = '<div>'+"text"+'</div>'
|
||||||
else
|
else
|
||||||
self.ep_pad.html = '<div>'+self.text+'</div>'
|
self.ep_pad.html = '<div>'+self.text+'</div>'
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<%= stylesheet_link_tag "themes/"+theme_name+"/application", :media => "all" unless theme_name.empty? %>
|
<%= stylesheet_link_tag "themes/"+theme_name+"/application", :media => "all" unless theme_name.empty? %>
|
||||||
<%= stylesheet_link_tag "application", :media=>"all" if theme_name.empty? %>
|
<%= stylesheet_link_tag "application", :media=>"all" if theme_name.empty? %>
|
||||||
<%= stylesheet_link_tag "infoscreenframe.css" %>
|
<%= stylesheet_link_tag "/iframe/infoscreenframe.css" %>
|
||||||
|
|
||||||
<%= javascript_include_tag "application" %>
|
<%= javascript_include_tag "application" %>
|
||||||
<%= javascript_include_tag "jmpress" %>
|
<%= javascript_include_tag "jmpress" %>
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ production:
|
|||||||
hostname: localhost
|
hostname: localhost
|
||||||
port: 8080
|
port: 8080
|
||||||
log_level: WARNING
|
log_level: WARNING
|
||||||
|
min_memory: 32M
|
||||||
|
max_memory: 1G
|
||||||
path: /solr-4.10.2/default #production #ollection1 #production
|
path: /solr-4.10.2/default #production #ollection1 #production
|
||||||
# solr_home: solr
|
# solr_home: solr
|
||||||
# read_timeout: 2
|
# read_timeout: 2
|
||||||
@@ -14,6 +16,8 @@ development:
|
|||||||
port: 8080
|
port: 8080
|
||||||
log_level: INFO
|
log_level: INFO
|
||||||
path: /solr/mycore
|
path: /solr/mycore
|
||||||
|
min_memory: 32M
|
||||||
|
max_memory: 1G
|
||||||
# solr:
|
# solr:
|
||||||
# hostname: localhost
|
# hostname: localhost
|
||||||
# port: 8983
|
# port: 8983
|
||||||
|
|||||||
Reference in New Issue
Block a user