Archived
Added deploy steps and passenger_wsgi
This commit is contained in:
1 parent
c649f0b2cf
commit
308134fb7e
5 files changed
+17
-2
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
deployment:
|
||||||
|
tasks:
|
||||||
|
- export DEPLOYPATH=/home/benjamyntesting/chatbot/
|
||||||
|
- cp -Rfv * $DEPLOYPATH
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
from priceybot2 import create_app
|
||||||
|
|
||||||
|
|
||||||
|
application = create_app()
|
||||||
@@ -1 +1,7 @@
|
|||||||
SQL_URI = "sqlite:///database.db"
|
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")
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
<form method="POST" action="/login">
|
<form method="POST" action="{{ url_for('auth.login') }}">
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<div class="control">
|
<div class="control">
|
||||||
<input class="input is-large" type="email" name="email" placeholder="Your Email" autofocus="">
|
<input class="input is-large" type="email" name="email" placeholder="Your Email" autofocus="">
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
<form method="POST" action="/signup">
|
<form method="POST" action="{{ url_for('auth.signup') }}">
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<div class="control">
|
<div class="control">
|
||||||
<input class="input is-large" type="email" name="email" placeholder="Email" autofocus="">
|
<input class="input is-large" type="email" name="email" placeholder="Email" autofocus="">
|
||||||
|
|||||||
Reference in new issue
Block a user