$ sudo -u redmine git clone --mirror git@github.com/hoge.git
$ vi /var/lib/redmine/public/robots.txt User-agent: * Disallow: /
$ vi /var/lib/redmine/app/views/layouts/base.rhtml <meta name="googlebot" content="noindex,nofollow,noarchive" /> #headのどっかに追記
githubと連携するときは外から見れないとダメなのでBasic認証は不可。github連携しない時のみ。
$ vi /var/lib/redmine/app/controller/application_controller.rb protect_from_forgery before_filter :auth private def auth authenticate_or_request_with_http_basic do |user, pass| user == 'user' && pass == 'password' end end
http://pixel-cookers.github.io/redmine-theme/
$ cd /var/lib/redmine/public/theme/ $ git clone git://github.com/pixel-cookers/redmine-theme.git pixel-cookers
を丸にする。
$ mkdir /var/lib/redmine/public/plugin_assets