Glassboard 1일차
1. 개발환경 설정
Aptana
– Vrapper
– Color theme : twilight
– Font : Droid Sans Mono
* Sky Font 라는걸 까니 구글 Font랑 연동
Python 2.7 설치
System `Path` : C:\Python27, C:\Python27\Scripts, C:\Python27\Lib\site-packages;
System `PYTHONPATH` : C:\Python27\Lib
Ref : http://bitboom.tistory.com/1
pip 설치
setuptools x64 다운 후 python ez_setup.py 로 실행
ez_setup.py -U setuptools 로 업데이트 후 easy_install pip
Ref : http://www.lucypark.kr/blog/2013/02/06/python-and-ipython-on-windows/
Django 설치
pip install django 로 설치 후 Python 인터프리터에서 import django 로 설치되었나 확인 이후에 Aptana에서 장고 프로젝트 만들때 Django가 안깔려있다고 나오면 Aptana > Preferences > PyDev -> Interpreter-Python 에서 System PYTHONPATH 에 New Folder로 C:\Python27\Lib\site-packages 추가.
Ipython
pip install ipython[all] 후 easy_install ipython[all]
2. 프로젝트 시작
Front-end Yeoman 으로
Backe-end Django 으로
메자닌은 뭔가? 장고 위에 올려쓰는 CMS 라는데
Yeoman
Yeoman 을 위해 Node.js와 Rails 설치 ROR은 여기 서 설치함. 편하다.
npm install -g yo
gem install compass
npm install -g generator-h5bp // [여기 참조](https://github.com/h5bp/generator-h5bp)
yo h5bp
Yeoman 설치하면 Bower은 자동으로 깔리나 봄. 여기 에서 사용 가능한 Bower 패키지 골라서 깔았음. Bootstrap, Modernizr
bower install // bower.json 에 등록된 패키지 인스톨
// bootstrap, modernizr 기본으로 세팅
Ref : Django
http://killins.egloos.com/category/django/page/2
http://greenfishblog.tistory.com/category/django/the%20django%20book%20study