컴퓨터/기타
Mongrel 설치 & 실행 on Win32
예섬수진
2009. 12. 5. 16:37
1. Ruby 설치 (V1.8.6)
※ Ruby 설치 버젼 확인 : ruby -v
2. RubyGem Update
1) RubyForge에서 최신 RubyGem 압축 파일(.zip)을 받음
2) 로컬에서 압축을 푼 후, cmd prompt에서 그 압축 폴더로 이동함
3) ruby setup.rb를 입력함
※ 또는 cmd propt에서 gem update --system을 입력함
3. Rails 설치
gem install rails --include-dependencies
4. Mongrel 설치
gem install mongrel --include-dependencies
gem install mongrel_service --include-dependencies
gem install win32-service --include-dependencies
5. Mongrel 설치 확인
※ Ruby 설치 버젼 확인 : ruby -v
2. RubyGem Update
1) RubyForge에서 최신 RubyGem 압축 파일(.zip)을 받음
2) 로컬에서 압축을 푼 후, cmd prompt에서 그 압축 폴더로 이동함
3) ruby setup.rb를 입력함
※ 또는 cmd propt에서 gem update --system을 입력함
3. Rails 설치
gem install rails --include-dependencies
4. Mongrel 설치
gem install mongrel --include-dependencies
gem install mongrel_service --include-dependencies
gem install win32-service --include-dependencies
5. Mongrel 설치 확인
mongrel_rails start -h
6. Rails를 이용한 Web Application 작성
http://www.advanceecomsolutions.com/resources/developing_web_applications_using_Ruby_on_Rails_framework.asp
rails web_application_name
7. Mongrel을 이용한 Web Server 실행
web_application_foloder]mongrel_rails start -p port_num -a host_ip
※ Web Server 실행 확인 : http://host_ip:port_num
6. Rails를 이용한 Web Application 작성
http://www.advanceecomsolutions.com/resources/developing_web_applications_using_Ruby_on_Rails_framework.asp
rails web_application_name
7. Mongrel을 이용한 Web Server 실행
web_application_foloder]mongrel_rails start -p port_num -a host_ip
※ Web Server 실행 확인 : http://host_ip:port_num