cmstemplate

  • Home
    • Site Map
    • reveal
    • blog
  • About
  • CMSiMDE
    • 基本操作
      • 客製化
      • 編輯網頁內容
      • 上傳與引用檔案
      • 上傳與引用圖片
      • 嵌入程式碼
      • 嵌入影片檔
      • 檢視 STL
    • Gitlab 同步
    • Heroku 部署
    • Fossil SCM
  • 建立網頁
  • 注意事項
    • 標題選擇
    • 靜態網頁 404
    • 動態網站錯誤
  • 延伸開發
    • 已知問題
      • IPv6
      • MathJax
      • html 分頁
      • template
  • 分組專案
    • W7
    • W8
基本操作 << Previous Next >> 編輯網頁內容

客製化

假如利用 https://github.com/mdecourse/cmstemplate 作為 template 所建立的 Github Pages 網站, 倉儲根目錄中的 cms.bat 可以在執行動態網站系統之後, 利用 pipe 讓 cms.bat 同時開啟 Firefox https://localhost:9443

修改後的 cms.bat 如下:

python cmsimde/wsgi.py 1> nul | "C:\Program Files (x86)\Mozilla Firefox\firefox" https://localhost:9443

前面 python cmsimde/wsgi.py 加上 1> nul 的目的是因為 pipe 執行時會將前面指令執行結果轉為隨後執行指令的輸入, 而 1> nul 則會將標準輸出的任何資料移除, 任何輸出不會影響 Firefox 執行.


基本操作 << Previous Next >> 編輯網頁內容

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