:::: MENU ::::
Browsing posts in: Web

Django 개발환경 설치

$아래와 같은 것들이 필요한데, PIP 및 Virtualenv등의 설치는 이전 포스팅 참고

  • Python
  • Git
  • Homebrew
  • Xcode Command Line Tools
  • pip (Package install for python)
  • pil (python imaging library)
  • virtualenv : 파이썬의 버추얼 환경을 위한 프로그램

파이썬 설치

$ brew install python –universal –framework

장고 설치

$ pip install django

sqlite 설치

$ brew install readline sqlite gdbm

파이썬 이미지 라이브러리

pip install PIL

버추얼 환경 만들기

$ virtualenv [버추얼환경 이름] –no-site-packages

버추얼 환경 실행

$ source [버추얼환경 이름]/bin/activate

버추얼 환경 빠져나오기

$ deactivate