Step1)git指令介紹
(1)使用git下載專案程式(https://github.com/jang0820/pmap.git)
#git clone https://github.com/jang0820/pmap.git
(2)查詢目前所有標籤
#git tag
(3)切換到某個標籤狀態(git checkout 標籤名稱)
#git checkout 0430將照片的GPS資訊標記到地圖
(4)比較兩個tag之間程式碼的差異,輸出到檔案(git diff 標籤名稱1 標籤名稱2 > output.txt)
#git diff 0502讀取資料夾內的圖片建立相簿地圖 0505圖片以壓縮檔方式上傳,解壓縮建立相簿 > 0502-0505.txt
Step2)建立資料庫
#python manage.py migrate
Step3)執行程式
#python manage.py runserver
Step4)瀏覽http://127.0.0.1:8000/map/go