Skip to content

Commit b006e0e

Browse files
authored
Merge pull request #124 from adamspd/fix/docker-documentation
Fix docker compose migration error documentation
2 parents d9349fd + 1950313 commit b006e0e

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,19 @@ Here's how you can set it up:
197197
docker compose up -d --build
198198
```
199199

200-
4. **Run Migrations**: Run the migrations with the following command:
200+
4. **Make Migrations and Run**: Create the migrations with the following command:
201201

202202
```bash
203+
docker-compose exec web python manage.py makemigrations appointment
204+
```
205+
206+
or
207+
```bash
208+
docker compose exec web python manage.py makemigrations appointment
209+
```
210+
211+
Then, apply the migrations with the following command:
212+
```bash
203213
docker-compose exec web python manage.py migrate
204214
```
205215

appointment/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
__package_name__ = "django-appointment"
66
__url__ = "https://github.com/adamspd/django-appointment"
77
__package_website__ = "https://django-appt.adamspierredavid.com/"
8-
__version__ = "3.3.1"
8+
__version__ = "3.3.2"
99
__test_version__ = False

0 commit comments

Comments
 (0)