From 723440130b2b690dc68d0f85549b3784a9c9d29b Mon Sep 17 00:00:00 2001 From: Benjamyn Love Date: Fri, 10 Mar 2023 09:13:56 +1100 Subject: [PATCH] Added new cPanel yml --- .cpanel.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.cpanel.yml b/.cpanel.yml index 2f8d860..0bbfbdf 100644 --- a/.cpanel.yml +++ b/.cpanel.yml @@ -3,4 +3,7 @@ deployment: tasks: - export DEPLOYPATH=/home/benjamyntesting/chatbot/ - cp -Rfv * $DEPLOYPATH - - touch $DEPLOYPATH/tmp/restart.txt \ No newline at end of file + - touch $DEPLOYPATH/tmp/restart.txt + - source /home/benjamyntesting/virtualenv/chatbot/3.8/bin/activate && cd /home/benjamyntesting/chatbot + - export FLASK_APP=priceybot2 + - flask db upgrade \ No newline at end of file