40723151 cd2020 協同產品設計實習

  • Home
    • Site Map
    • reveal
    • blog
  • About
    • 組員名單
  • Develop
  • 期末報告
  • TOP 0 文章
    • 心得
  • 可攜系統
    • 安裝pip
    • SSH
  • WORK
    • Work1
      • webots設定
    • Work2
      • xelatex
    • Work3
      • OBS串流設定
    • Work4
      • 瞭解四輪機器人
    • Work5
      • VirtualBox
    • Work6
    • Work7
    • Work8
  • 問題解決
    • push衝突
Next >> 組員名單

About

利用 cmsimde 建立靜態網誌方法:

1. 在 github 建立倉儲, git clone 到近端

2. 參考 https://github.com/mdecourse/newcms, 加入除了 cmsimde 目錄外的所有內容

以 git submodule add https://github.com/mdecourse/cmsimde cmsimde

建立 cmsimde 目錄, 並從 github 取下子模組內容.

3.在近端維護時, 更換目錄到倉儲中的 cmsimde, 以 python wsgi.py 啟動近端網際伺服器.

動態內容編輯完成後, 以 generate_pages 轉為靜態內容, 以 git add commit 及 push 將內容推到遠端.

4. 之後若要以 git clone 取下包含 submodule 的所有內容, 執行:

git clone --recurse-submodules https://github.com/mdecourse/newcms.git


Next >> 組員名單

Copyright © All rights reserved | This template is made with by Colorlib