To install (If you include pyenv-virtualenv, you may not need to include pyenv)
$ brew install pyenv
$ brew install pyenv-virtualenv
export PYENV_ROOT=/usr/local/var/pyenv
if which pyenv-virtualenv-init > /dev/null; then eval "$(pyenv virtualenv-init -)"; fi
$ pyenv install 3.4.3
$ pyenv virtualenv 3.4.3 django
mkdir ~/workspace/django
cd ~/workspace/django
pyenv local django
$ pip install --upgrade pip
$ pip install django
$ django-admin.py startproject mysite
$ cd mysite/
migration
$ python manage.py migrate
python manage.py runserver
http://127.0.0.1:8000/ Connect to and when It worked! Is displayed, ok
http://qiita.com/kaki_k/items/e824cfcf089e75d43551 http://qiita.com/maosanhioro/items/47a52f96fefba7126f9b
Recommended Posts