diff --git a/.a.sh b/.a.sh deleted file mode 100755 index a322484..0000000 --- a/.a.sh +++ /dev/null @@ -1,5 +0,0 @@ -set -ex - -docker run -d place -sleep 5 -curl -Is http://127.0.0.1 diff --git a/README.md b/README.md index 60a4abb..376efe0 100644 --- a/README.md +++ b/README.md @@ -13,17 +13,23 @@ An event application for Cameroon that helps users find events based on their in ### Setup Instructions **Install Dependencies** - ```sh - pip install . ``` + - **With Python:** + ```sh + pip install . + ``` + - **With UV (Faster):** No needed + - **With Docker:** No needed **Setup** - **With Python:** ```sh + python place/manage.py makemigrations python place/manage.py migrate ``` - **With UV (Faster):** ```sh + uv run place/manage.py makemigrations uv run place/manage.py migrate ``` - **With Docker:** No needed diff --git a/entrypoint.sh b/entrypoint.sh index 1b6159b..56cac1e 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -5,6 +5,7 @@ PATH="$PATH:.venv/bin/" set -ex .venv/bin/python manage.py collectstatic --noinput +.venv/bin/python manage.py makemigrations --noinput .venv/bin/python manage.py migrate --noinput if [ -z "$@" ]; then