upgrade migrate.sh && add README.md with UML
parent
e221d223ac
commit
8c1a3d9843
|
|
@ -0,0 +1,57 @@
|
||||||
|
|
||||||
|
## music-service
|
||||||
|
|
||||||
|
# dir structure
|
||||||
|
|
||||||
|
```bash
|
||||||
|
|
||||||
|
.
|
||||||
|
├── account
|
||||||
|
│ ├── admin.py
|
||||||
|
│ ├── apps.py
|
||||||
|
│ ├── models.py
|
||||||
|
│ ├── serializers.py
|
||||||
|
│ ├── tests.py
|
||||||
|
│ └── views.py
|
||||||
|
├── album
|
||||||
|
│ ├── admin.py
|
||||||
|
│ ├── apps.py
|
||||||
|
│ ├── models.py
|
||||||
|
│ ├── serializers.py
|
||||||
|
│ ├── tests.py
|
||||||
|
│ └── views.py
|
||||||
|
├── asgi.py
|
||||||
|
├── comment
|
||||||
|
│ ├── admin.py
|
||||||
|
│ ├── apps.py
|
||||||
|
│ ├── models.py
|
||||||
|
│ ├── serializers.py
|
||||||
|
│ ├── tests.py
|
||||||
|
│ └── views.py
|
||||||
|
├── playlist
|
||||||
|
│ ├── admin.py
|
||||||
|
│ ├── apps.py
|
||||||
|
│ ├── models.py
|
||||||
|
│ ├── tests.py
|
||||||
|
│ └── views.py
|
||||||
|
├── rating
|
||||||
|
│ ├── admin.py
|
||||||
|
│ ├── apps.py
|
||||||
|
│ ├── models.py
|
||||||
|
│ ├── serializers.py
|
||||||
|
│ ├── tests.py
|
||||||
|
│ └── views.py
|
||||||
|
├── settings.py
|
||||||
|
├── urls.py
|
||||||
|
├── utils.py
|
||||||
|
└── wsgi.py
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
# diagram class
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
# diagram class by apps
|
||||||
|
|
||||||
|

|
||||||
Binary file not shown.
|
|
@ -2,3 +2,6 @@ python manage.py makemigrations
|
||||||
python manage.py migrate
|
python manage.py migrate
|
||||||
python manage.py graph_models -a -g -o class_diagram_by_apps.png
|
python manage.py graph_models -a -g -o class_diagram_by_apps.png
|
||||||
python manage.py graph_models -a -o class_diagram.png
|
python manage.py graph_models -a -o class_diagram.png
|
||||||
|
|
||||||
|
# directory structure
|
||||||
|
# tree -I '.git|__pycache__|migrations|__init__.py'
|
||||||
Loading…
Reference in New Issue