poetry shell
source .venv/scripts/activate
poetry env info --path
pip install -r requirements.txt
poetry update package
poetry install
cat requirements.txt | grep -E '^[^# ]' | cut -d= -f1 | xargs -n 1 poetry add
poetry export -f requirements.txt --output requirements.txt
py -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'
touch secrets.json
{
"SECRET_KEY": "해당 키",
"EMAIL_HOST_USER": "이메일주소",
"EMAIL_HOST_PASSWORD": "비림번호"
}
py manage.py migrate
py manage.py check
py manage.py createsuperuser
py manage.py runserver
yolov5를 활용한 자동태그가 달리는 패션커뮤니티
Backend - Python, Django Rest Framework
Frontend - Vanilla JS
requirements.txt
poetry
json
python = "^3.11"
django = "^4.2"
djangorestframework-simplejwt = "^5.2.2"
djangorestframework = "^3.14.0"
django-cors-headers = "^3.14.0"
pillow = "^9.5.0"
pytest-django = "^4.5.2"
coverage = "^7.2.6"
pytest-cov = "^4.1.0"
pytest-factoryboy = "^2.5.1"
pytest-faker = "^2.0.0"