-
Notifications
You must be signed in to change notification settings - Fork 3
Blacklight and Solr tips and tricks
steffengodskesen edited this page Oct 25, 2012
·
8 revisions
- Use a local copy of blacklight: in Gemfile:
gem 'blacklight', :path => "/path/to/local/blacklight"
-
Local configuration files that should not go in the repository: *.local.rb, *.local.yml, example: https://github.com/dtulibrary/toshokan/blob/master/config/database.yml
-
Run tests, bundle, migrations automatically with guard https://github.com/guard/guard, http://railscasts.com/episodes/264-guard
-
A Git Workflow for Agile Teams, http://reinh.com/blog/2009/03/02/a-git-workflow-for-agile-teams.html
- CI job: https://ci.cvt.dk/view/toshokan%20pipeline/ https://svn.cvt.dk/infonet/ci-deploy/trunk/ci-utilities/install-toshokan.sh
- Capistrano https://github.com/dtulibrary/toshokan/blob/master/config/deploy.rb
- Creating a new environment: Add <environment_name>.rb to config/environments, add new environments to database.yml and solr.yml
- Railscasts http://railscasts.com/
- Deploy with capistrano, passenger and RVM http://kris.me.uk/2011/10/28/rails-rvm-passenger-capistrano-git-apache.html
- RSpec best practices http://betterspecs.org/ http://blog.carbonfive.com/2010/10/21/rspec-best-practices/
- Rails Best Practices. http://rails-bestpractices.com/, https://github.com/railsbp/rails_best_practices
- Brakeman. Security scanner for Rails apps, http://brakemanscanner.org/ http://railscasts.com/episodes/358-brakeman
- Solr mailing lists http://lucene.apache.org/solr/discussion.html
- Solr performance tips. http://wiki.apache.org/solr/SolrPerformanceFactors
- Solr stress/performance testing, http://code.google.com/p/solrmeter/