Skip to content

chairco/dj-Monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

目的

監控 ETL 排程任務,結合 HAYSTACK 並連結 Elasticsearch 快速搜尋歷程紀錄。

需要檔案

  • settings/ 底下建立一個 local.env。
  • .env 檔案內包含下列變數環境:
    • DEBUG="True" 要運行的環境 # True or False
    • DATABASE_URL= 指定資料庫路徑。資料庫路徑資訊由 dj-database-url 管理,# syntax: DATABASE_URL=postgres://username:password@127.0.0.1:5432/database
    • SECRET_KEY= DJANGO_SECRET_KEY 指定 Django 需要的 secret key。 # 不需要 "" 包住。