From 29051a7b9546d133c068ac77e77e1ef5d6617a63 Mon Sep 17 00:00:00 2001 From: jens Date: Sun, 30 Aug 2020 11:36:03 +0000 Subject: [PATCH 1/2] Update 'README.md' --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3814b0a..82918bb 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,8 @@ Now you are running the development server, Visit http://127.0.0.1:8000/admin/ ``` dnf install python3-pip git pip3 install django psycopg2 gunicorn -git clone git@github.com:JensTimmerman/im.git +curl https://gitea.caret.be/jens/im/archive/main.tar.gz --output im-latest.tar.gz +tar -xvf im-latest.tar.gz cd im vim im/settings.py ``` From 1a898278ed766433cad82a9de05ba3cdf094a118 Mon Sep 17 00:00:00 2001 From: jens Date: Sun, 30 Aug 2020 11:47:37 +0000 Subject: [PATCH 2/2] Update 'im/settings.py.prod' --- im/settings.py.prod | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/im/settings.py.prod b/im/settings.py.prod index 68066d0..1f9e3a6 100644 --- a/im/settings.py.prod +++ b/im/settings.py.prod @@ -20,13 +20,13 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # See https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = '{{secret_key}}' +SECRET_KEY = '{{im_secret_key}}' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = False ALLOWED_HOSTS = [ - {{domain}} + {{im_domain}} ] @@ -79,11 +79,11 @@ WSGI_APPLICATION = 'im.wsgi.application' DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', - 'NAME': '{{db_name}}', - 'USER': '{{db_user}}', - 'PASSWORD': '{{db_password}}', - 'HOST': '{{db_server_ip}}', - 'PORT': '{{db_port}}', + 'NAME': '{{im_db_name}}', + 'USER': '{{im_db_user}}', + 'PASSWORD': '{{im_db_password}}', + 'HOST': '{{im_db_server_ip}}', + 'PORT': '{{im_db_port}}', } }