Skip to content

Commit

Permalink
Merge pull request #124 from adamspd/fix/docker-documentation
Browse files Browse the repository at this point in the history
Fix docker compose migration error documentation
  • Loading branch information
adamspd authored Feb 26, 2024
2 parents d9349fd + 1950313 commit b006e0e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,19 @@ Here's how you can set it up:
docker compose up -d --build
```

4. **Run Migrations**: Run the migrations with the following command:
4. **Make Migrations and Run**: Create the migrations with the following command:

```bash
docker-compose exec web python manage.py makemigrations appointment
```

or
```bash
docker compose exec web python manage.py makemigrations appointment
```

Then, apply the migrations with the following command:
```bash
docker-compose exec web python manage.py migrate
```

Expand Down
2 changes: 1 addition & 1 deletion appointment/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
__package_name__ = "django-appointment"
__url__ = "https://github.com/adamspd/django-appointment"
__package_website__ = "https://django-appt.adamspierredavid.com/"
__version__ = "3.3.1"
__version__ = "3.3.2"
__test_version__ = False

0 comments on commit b006e0e

Please sign in to comment.