當Why 再也不是為什麼
Life , Dream , Computer Science , Game , Security , Anything interesting!
2021年8月1日 星期日
Bitbucket 無法git push 的解決方法
›
如果git clone 一份bitbucket repo 下來, 發現要git push code時遭遇權限不足,如以下 : ``` Unauthorized fatal: Could not read from remote repository. Please make s...
2020年6月28日 星期日
[note] 在github/heroku_git上打tag的方式
›
上commit做版本管理已經是種日常必備如呼吸般的動作。 但是有時候仍會需要做版本紀錄,一個存檔的感覺。 就可以利用打tag 的方式做一個小版本控管。
2020年6月20日 星期六
[Heroku] 重新建立DB schema的方式
›
在寫Flask操作DB 內容時,常發生一開始設計不足(e.g. 欄位不對,...,etc),需要整個資料庫重新設計大綱時,就必須要常常reset schema。
[Flask] SQLALCHEMY_TRACK_MODIFICATIONS error 處理
›
在導入postgresql至heroku的同時,使用Flask遭遇以下error: builtins . KeyError KeyError : 'SQLALCHEMY_TRACK_MODIFICATIONS'
2020年6月13日 星期六
[heroku][postgresql] postgresql online GUI
›
很方便的線上GUI介面操作postgresql 但是缺點是只有七天試用 (期待他未來可以免費) https://heroku-data-explorer.herokuapp.com/#/
[heroku][postgresql] 使用CLI介面清空資料庫table所有資料內容
›
建立好heroku postgresql之後, 有時候需要直接清空資料庫,但又不想重新建立shema 或者重新migration 這時候就可以透過CLI直接清除資料庫
›
首頁
查看網路版