djangoインストール
640 ワード
Djangoソースパッケージのダウンロード
ソースパッケージの解凍
または、上記の2つのステップの代わりにgitをダウンロードします.
コマンドラインDjangoのインストール
djangoバージョンの表示
コマンドラインDjangoプロジェクトの作成
Djangoプロジェクトの実行
[https://www.djangoproject.com/download/](https://www.djangoproject.com/download/)
ソースパッケージの解凍
tar zxvf Django-1.x.y.tar.gz
または、上記の2つのステップの代わりにgitをダウンロードします.
git clone https://github.com/django/django.git
コマンドラインDjangoのインストール
cd Django-1.x.y
sudo python setup.py install
djangoバージョンの表示
django-admin --version
コマンドラインDjangoプロジェクトの作成
$ django-admin.py startproject testdj
Djangoプロジェクトの実行
python manage.py runserver