Archived
Merge pull request 'Added deploy steps and passenger_wsgi' (#14) from feat/9-login-system into main
Reviewed-on: #14
This commit was merged in pull request #14.
This commit is contained in:
commit
d529cc8f71
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"
|
||||
|
||||
|
||||
# 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>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
<form method="POST" action="/login">
|
||||
<form method="POST" action="{{ url_for('auth.login') }}">
|
||||
<div class="field">
|
||||
<div class="control">
|
||||
<input class="input is-large" type="email" name="email" placeholder="Your Email" autofocus="">
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
<form method="POST" action="/signup">
|
||||
<form method="POST" action="{{ url_for('auth.signup') }}">
|
||||
<div class="field">
|
||||
<div class="control">
|
||||
<input class="input is-large" type="email" name="email" placeholder="Email" autofocus="">
|
||||
|
||||
Reference in new issue
Block a user