From 964c2ab94cf128590a30250634a4977942d54e27 Mon Sep 17 00:00:00 2001 From: Krittipoom Date: Mon, 23 Oct 2023 23:06:13 +0700 Subject: [PATCH] fix workflows#4 & improve readme --- .github/workflows/django_app_test.yml | 2 +- README.md | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/django_app_test.yml b/.github/workflows/django_app_test.yml index 582977f..1a12d24 100644 --- a/.github/workflows/django_app_test.yml +++ b/.github/workflows/django_app_test.yml @@ -19,6 +19,6 @@ jobs: docker-compose up -d sleep 10 - docker-compose run django_online_store-web-1 bash -c "python manage.py test main.tests.URLTests.homepage" + docker-compose run django_online_store_default bash -c "python manage.py test main.tests.URLTests.homepage" docker-compose down \ No newline at end of file diff --git a/README.md b/README.md index cea511b..0df41a0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## Online Ecommerce Shop example using Docker Django SQLite +## Online Ecommerce Shop example using Django SQLite preview: [ddice.pythonanywhere.com](https://ddice.pythonanywhere.com/) @@ -44,14 +44,16 @@ python3 manage.py runserver 127.0.0.1:8000/ ``` -Runserver - ### dockerengine ``` docker-compose up -d --build ``` +``` +127.0.0.1:8000/ +``` + ## License: [GNU General Public License v3.0](LICENSE)