Use this README file to introduce your application and point to useful places in the API for learning more. Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries. System require Apache : 2.2 MySQL : 5.5.29, ImageMagick : 8:6.6.9.7-5 Git : 1.7.9.5 Ruby : ruby 1.9.2p320 rvm : rvm 1.17.6 Gem : ruby gem 1.8.24 Rails: Rails 3.2.1 Rmagick : 2.13.1 Passenger: Phusion Passenger : 3.0.19 compass : まだ導入しない ============================================== repository : ssh://repo@133.242.146.150/home/public_git/biosil ==================== tinymceのインストール ==================== Gemfileに以下を追加 >> gem 'tinymce-rails' #リッチテキスト >> gem 'tinymce-rails-langs' #リッチテキスト日本語化 bundle install実効 > bundle install 設定) app/assets/javascripts/application.js に以下を追加 >> //=require 'tinymice' 初期設定ファイルを作成) 場所:app/config/tinymice.yml 以下の記述により初期値を設定 >> theme_advanced_toolbar_location: top >> theme_advanced_toolbar_align: left >> theme_advanced_statusbar_location: bottom >> theme_advanced_buttons3_add: >> - tablecontrols >> - fullscreen >> plugins: >> - table >> - fullscreen ==================== compass のインストール ==================== Gemfileの group :assets に > gem 'compass-rails' を追加する。 > bundle install を実効 次に、Rails.root で > compass init rails を実行。 最後に app/assets/stylesheets/application.css に @import "compass" を追記 application.css を application.css.scss にリネーム。 ====================== # force_ssl を強制的にする。(Production Mode) ====================== config/environment/production.rb force_ssl をコメントアウト ====================== Basic認証を設定する ====================== app/controllers/application_controller.rb 14行目のコメントを外す http_basic_authenticate_with :name => "hcl", :password => "hcladmin"