40923121

  • Home
    • Site Map
    • reveal
    • blog
  • About
  • Develop
  • 作業
    • 40923121 hw1
      • PCH7 Expansion Card Audio Video and Storage
      • Expansion Slots
      • PCI PCI X Slots
      • Summary
      • PCI Express  PCIe  Expansion Slots
      • AMR and CNR Slots
      • Overclocking
      • Choosing a Processor
      • CPU Cache
      • Video Output
      • Storage Devices  Optical Drives
      • Storage Devices  External Devices
      • Storage Devices  Legacy Devices
      • 擴展插槽
      • PCI   PCI-X插槽
      • 概要
      • PCI Express PCIe 擴展插槽
      • AMR和CNR插槽
      • 超頻
      • 選擇處理器
      • CPU緩存
      • 視頻輸出
      • 存儲設備 光盤驅動器
      • 存儲設備 外部設備
      • 存儲設備 舊版設備
      • Overview
      • Heat Sources
      • Heat Effects
      • Heat Reduction
      • Active Air Cooling
      • Passive Air Cooling
      • Liquid Cooling
      • CPU Cooling
      • Case Fans
      • Liquid Cooling Installation
      • 總覽
      • 熱源
      • 熱效應
      • 減少熱量
      • 主動風冷
      • 被動風冷
      • 液體冷卻
      • CPU散熱
      • 機箱風扇
      • 液體冷卻 安裝
    • hw2
    • hw3
      • Discussion-1
      • Sets
      • Features of sets
      • In Python
      • 討論區-1
      • 集的特徵
      • 在Python中
      • Discussion-2
      • More string things
      • Splitting strings
      • Joining strings
      • 討論區-2
      • 更弦的東西
      • 分割字符串
      • 連接字符串
      • Discussion-3
Next >> Develop

About

此內容管理系統以 https://github.com/mdecourse/cmsimde 作為 submodule 運作, 可以選定對應的版本運作, cmsimde 可以持續改版, 不會影響之前設為 submodule, 使用舊版 cmsimde 模組的內容管理相關運作.

利用 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 >> Develop

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