Skip to content

Instantly share code, notes, and snippets.

Hugues Landry hlandry

  • Moncton, NB
Block or report user

Report or block hlandry

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
hlandry / gist:3785269
Created Sep 26, 2012
Installing Apache Solr for Drupal on Mac OSX
View gist:3785269

Installing Apache Solr on Mac OSX Snow Leopard for Drupal

The apachesolr module for Drupal provides a first class search engine with faceted search and more. This module needs a solr server to work.

This post explains how you can install the module and a solr server on Mac OS 10.6.

Snow Leopard has already Java installed so it's pretty easy to install Apache Solr. You can almost follow the readme coming with the module but this give you a fast way ;).

Install apchesolr module

hlandry / archive-reimport.txt
Created Dec 27, 2011
Archive a repo and re-import it later.
View archive-reimport.txt
# Warning, this was only tested on small project that use only the main branch. use at your own risk...
# First clone your repo
$ git clone <some repo>
$ cd <some repo>
$ git remote -v
origin (fetch)
origin (push)
$ git remote rm origin
# Then archive.
# Some time later, when restarting to work on the project, create a blank repo in git hub and do :
hlandry /
Created Nov 24, 2010
So to manually move a repository from another server to github. This is not a real script, just commands.
# First create a repo on github, then, do the following:
git clone --bare
cd myoldrepo.git
git push --mirror
You can’t perform that action at this time.