Skip to content

Commit

Permalink
revisi deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
fathonidf committed Oct 13, 2023
1 parent 8de072f commit 98c58b6
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,3 @@ GitHub.sublime-settings
!.vscode/launch.json
!.vscode/extensions.json
.history

# Deployment
.github/*
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ RUN chown -R django:django /app
USER django

# Run application
# CMD gunicorn shopping_list.wsgi:application
# CMD gunicorn adventurers_inventory.wsgi:application
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion main/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
path('trash_item/<int:id>', 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/<int:item_id>/', delete_item_ajax, name='delete_item_ajax')
path('delete_item_ajax/<int:item_id>/', delete_item_ajax, name='delete_item_ajax')
]

0 comments on commit 98c58b6

Please sign in to comment.