From c603a7b580be7f3e65d6348d14bbbe3bbdd83a17 Mon Sep 17 00:00:00 2001 From: Faraphel Date: Fri, 5 Jan 2024 10:32:30 +0100 Subject: [PATCH] added migrations steps to README --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 507f27a..eb73612 100644 --- a/README.md +++ b/README.md @@ -12,4 +12,7 @@ this session. 1. Install `python >= 3.11` 2. Create a virtual environment with `python -m venv ./.venv/`. The next steps will be inside it. 3. Install the dependencies with `python -m pip install -r ./requirements.txt`. -4. Run the program by with `python ./manage.py runserver`. +4. Modify the `Palto/settings.py` file to setup your database and other settings. +5. Make the migrations with `python ./manage.py makemigrations`. +6. Apply the migrations to the database with `python ./manage.py migrate`. +7. Run the program by with `python ./manage.py runserver`.