在Windows 7上安裝Django
可以參考 在Windows 7上安裝Django! ,這位先生有用eclipse,但我沒有,就把django裝完就解束了. 首先要先下載安裝 python 2.7 ,然後設定windows 路徑:點開左下角的微軟標誌,滑鼠右鍵點擊"電腦",滑鼠左鍵點開"內容",滑鼠左鍵點開"進階系統設定",滑鼠左鍵點開"環境變數",滑鼠點選"Path",滑鼠點選下面的"編輯",Path裡變數值加上"C:\Python27;"如圖反白處 Path設定好後,開啟dos 介面,打上python,如圖有顯示進入python介面路徑就設定成功了! 接下來下載 Django ,我是下載1.4版的,下載完把它解壓縮(我是使用 7 zip 解壓),解壓要連裡面的檔案都解壓喔!(解壓第一次後,再點入再解壓一次),解壓完後開dos後cd進入 \Django-1.4\dist\ Django-1.4\ Django-1.4 ,然後dir 一下看有沒有setup.py的檔案, 接下來下指令python setup.py install就開始安裝了,,安裝時間有點久,可以先去上一下廁所 ^^. 安裝完後dos進入python,先import django再print django.get_version(),如下圖 正常顯示1.4版就完成了! 接下來要開始第一個 django專案還要再吧 windows 7的Path裡變數值加入這一段 C:\Python27\python.exe;C:\Python27\Scripts;C:\Python27\Lib\site-packages\django\bin; 很長一串, 但不加入這一段就不能startproject了 ,,細節我還不清楚?? 接下來dos裡md 一個目錄(我是用md djcode),再cd djcode,然後django-admin.py startproject mysite,一個叫mysite的專案就出現了,,. cd mysite,然後python manage.py runserver,開瀏覽器打上http://127.0.0.1:8000/ 有看到It...
There is a big selection, providing varieties of|several varieties of|various kinds of} games with different themes and preferences. Some of them are even based mostly on in style TV reveals or superheroes. And heaps of|there are numerous} misconceptions on-line on the subject of how video slots really work. In this article, 파라오카지노 도메인 we'll try to explain how these virtual machines really function and the way excessive the possibility of successful is. Some video slots comprise huge jackpots which are incredibly difficult to win, whereas others with more modest jackpots may nicely pay out more usually.
回覆刪除