From 98c58b67a3a6162e7c2b8fc4a01a36d9d5b862e6 Mon Sep 17 00:00:00 2001 From: fathonidf Date: Fri, 13 Oct 2023 12:39:03 +0700 Subject: [PATCH] revisi deploy --- .gitignore | 3 --- Dockerfile | 2 +- README.md | 1 - main/urls.py | 2 +- 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index d521613..4c8890d 100644 --- a/.gitignore +++ b/.gitignore @@ -135,6 +135,3 @@ GitHub.sublime-settings !.vscode/launch.json !.vscode/extensions.json .history - -# Deployment -.github/* \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 82ba771..0b09e8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,4 +29,4 @@ RUN chown -R django:django /app USER django # Run application -# CMD gunicorn shopping_list.wsgi:application \ No newline at end of file +# CMD gunicorn adventurers_inventory.wsgi:application \ No newline at end of file diff --git a/README.md b/README.md index a33e5cc..a68b36c 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,6 @@ Saya membuat direktori lokal dan repo baru di Github bernama ***Adventurer's Inv Pada proyek ***Adventurer's Inventory*** ini terdapat suatu aplikasi bernama `main` yang memiliki model, tampilan, dan URL khusus dengan rute `/main`. Inisiasi aplikasi `main` saya lakukan dengan perintah `python manage.py startapp main` hingga terbentuk direktori baru pada projek/direktori utama. Tak lupa saya daftarkan aplikasi ini ke `INSTALLED APPS` di `settings.py` seperti berikut, ```python - INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', diff --git a/main/urls.py b/main/urls.py index c782bed..fe78445 100644 --- a/main/urls.py +++ b/main/urls.py @@ -19,5 +19,5 @@ path('trash_item/', trash_item, name='trash_item'), path('get-item/', get_item_json, name='get_item_json'), path('create-item-ajax/', add_item_ajax, name='add_item_ajax'), - path('delete-item-ajax//', delete_item_ajax, name='delete_item_ajax') + path('delete_item_ajax//', delete_item_ajax, name='delete_item_ajax') ] \ No newline at end of file