diff --git a/.cpanel.yml b/.cpanel.yml new file mode 100644 index 0000000..c18b019 --- /dev/null +++ b/.cpanel.yml @@ -0,0 +1,5 @@ +--- +deployment: + tasks: + - export DEPLOYPATH=/home/benjamyntesting/chatbot/ + - cp -Rfv * $DEPLOYPATH \ No newline at end of file diff --git a/passenger_wsgi.py b/passenger_wsgi.py new file mode 100644 index 0000000..9d564a3 --- /dev/null +++ b/passenger_wsgi.py @@ -0,0 +1,4 @@ +from priceybot2 import create_app + + +application = create_app() diff --git a/priceybot2/config/db.py.sample b/priceybot2/config/db.py.sample index 759d215..f37e64b 100644 --- a/priceybot2/config/db.py.sample +++ b/priceybot2/config/db.py.sample @@ -1 +1,7 @@ SQL_URI = "sqlite:///database.db" + + +# MySQL connection string +# from sqlalchemy import URL +# +# url_object = URL.create("mysql", username="benjamyntesting_pbot", password="xzQ36XOPrJe2", host="localhost", database="benjamyntesting_pbot") diff --git a/priceybot2/templates/login.html b/priceybot2/templates/login.html index a341451..80cda87 100644 --- a/priceybot2/templates/login.html +++ b/priceybot2/templates/login.html @@ -11,7 +11,7 @@ {% endif %} {% endwith %} -