diff --git a/Dockerfile b/Dockerfile index 3368348..1bdd21b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,4 +8,6 @@ RUN pip install --no-cache-dir -r requirements.txt COPY . . -CMD ["python", "run.py"] +EXPOSE 5555 + +CMD ["python", "run.py"] \ No newline at end of file diff --git a/app/client/templates/base.html b/app/client/templates/base.html index 95ebb28..fc003b0 100644 --- a/app/client/templates/base.html +++ b/app/client/templates/base.html @@ -20,7 +20,7 @@
-

ShortMe

+

Hello Romain

ShortMe is a free tool to shorten URLs. Create a short & memorable URL in seconds.

@@ -41,4 +41,4 @@

ShortMe

- \ No newline at end of file + diff --git a/app/client/templates/index.html b/app/client/templates/index.html index e28c23e..f6d98d7 100644 --- a/app/client/templates/index.html +++ b/app/client/templates/index.html @@ -46,10 +46,7 @@
Check out
with - by Tomer
- -
Check out my GitHub
+ by Qovery
diff --git a/app/client/templates/verify.html b/app/client/templates/verify.html index 15becbf..7fc0f9f 100644 --- a/app/client/templates/verify.html +++ b/app/client/templates/verify.html @@ -9,7 +9,7 @@

-

Please check your inbox

+

Please check your inbox x

We've sent a verification code to your email. Please enter it below and click verify.

diff --git a/app/setup/settings.py b/app/setup/settings.py index 277aa09..6cbdd80 100644 --- a/app/setup/settings.py +++ b/app/setup/settings.py @@ -1,15 +1,15 @@ import os -SECRET_KEY = os.environ.get('SECRET_KEY') -SQLALCHEMY_DATABASE_URI = os.environ.get('SQLALCHEMY_DATABASE_URI') -SQLALCHEMY_TRACK_MODIFICATIONS = os.environ.get('SQLALCHEMY_TRACK_MODIFICATIONS') -ADMIN_USERNAME = os.environ.get('ADMIN_USERNAME') -ADMIN_PASSWORD = os.environ.get('ADMIN_PASSWORD') +SECRET_KEY = 'mySecretKey' #os.environ.get('SECRET_KEY') +SQLALCHEMY_DATABASE_URI = 'sqlite:///db.sqlite3' #os.environ.get('SQLALCHEMY_DATABASE_URI') +SQLALCHEMY_TRACK_MODIFICATIONS = False #os.environ.get('SQLALCHEMY_TRACK_MODIFICATIONS') +ADMIN_USERNAME = 'admin' #os.environ.get('ADMIN_USERNAME') +ADMIN_PASSWORD = 'admin' #os.environ.get('ADMIN_PASSWORD') -MAIL_SERVER = os.environ.get('MAIL_SERVER') -MAIL_PORT = int(os.environ.get('MAIL_PORT')) -MAIL_USERNAME = os.environ.get('MAIL_USERNAME') -MAIL_PASSWORD = os.environ.get('MAIL_PASSWORD') +MAIL_SERVER = 'localhost' # os.environ.get('MAIL_SERVER') +MAIL_PORT = 25 # int(os.environ.get('MAIL_PORT')) +MAIL_USERNAME = 'user' # os.environ.get('MAIL_USERNAME') +MAIL_PASSWORD = 'password' # os.environ.get('MAIL_PASSWORD') MAIL_USE_TLS = False MAIL_USE_SSL = True diff --git a/runtime.txt b/runtime.txt new file mode 100644 index 0000000..4a9e573 --- /dev/null +++ b/runtime.txt @@ -0,0 +1 @@ +python-3.7.12 \ No newline at end of file