Skip to content
Discussion options

You must be logged in to vote

環境裝好後,在專案最上層執行:

nohup python3 main.py &>/var/log/DiscordBot/Log_$(date +%Y-%m-%dT%H-%M-%S).log&

開始跑主程式py檔,然後

nohup flask run &>flakLog.out&

開啟中電商店。記得紀錄PID,下次要在htop 關閉會比較方便

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by elvisdragonmao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants