分类 默認分類 下的文章
訂閱訂單紀錄查詢取消操作
進行訂閱支付測試
telegram 新增啟動遊戲 app
點鏈結並關注 Bot Father https://t.me/BotFather
https://docs.ton.org/develop/dapps/telegram-apps/step-by-step-guide#setting-up-a-bot-for-the-app
創建 bot
/newbot
新增好 bot 後修改 bot 設定
/mybots
點 @stickcody_bot.
bot setting > menu button > edit menu button url
輸入url: https://alnairclt2.wetacoin.com
輸入title: alnair
創建成功
切換到 anubis bot
點左下角 "alnair"
可以看到遊戲啟動了
GCP Compute Engine 擴充硬碟
$ df -T
先查看要升級的硬碟類型, 看到 /dev/sda2 : xfs 格式
先到 Compute engine 升級硬碟, 選擇硬碟然後選擇 compute engine 對應硬碟, 再點"編輯"
輸入升級後大小
登入 centos 系統, 安裝工具
$ yum install cloud-utils-growpart
擴容分區
$ growpart /dev/sda2
擴容文件系統
$ xfs_growfs -d /dev/sda2
再查看升級後大小
$ df -Th
$ lsblk
This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled
今天在同步本地sql到gcp mysql時發生了這個錯誤
[ERR] 1> 1418 - This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you might want to use the less safe log_bin_trust_function_creators variable)
切換到 gcp sql
選擇編輯設定, 在下面新增flag
新增對應flag, log_bin_trust_function_creators 確認後保存。
最後在執行一次同步, 可以了。