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": "해당 키",
}
py manage.py migrate
py manage.py check
py manage.py createsuperuser
py manage.py runserver
사용자가 자신의 관심사나 주제에 대해 다양한 토픽의 글을 작성 및 게시하고, 블로거와 유저 간 소통을 극대화한 범용적인 블로그 플랫폼.
Backend - Python, Django Rest Framework
Frontend - next.js
requirements.txt
poetry
json
python = "^3.11"
django = "^4.2"
djangorestframework = "^3.14.0"
django-cors-headers = "^3.14.0"
pillow = "^9.5.0"
django-nextjs = "^2.2.2"
djangorestframework-simplejwt = "^5.2.2"