Skip to content

Comments

Merge develop → main-test: 배포 파이프라인/정적파일/설정 정리#61

Merged
namu627 merged 42 commits intodevelopfrom
main-test
Aug 15, 2025
Merged

Merge develop → main-test: 배포 파이프라인/정적파일/설정 정리#61
namu627 merged 42 commits intodevelopfrom
main-test

Conversation

@ZinYan
Copy link
Collaborator

@ZinYan ZinYan commented Aug 15, 2025

PR 올리기 전 확인하세요

  • 커밋메시지가 컨벤션을 따르나요?
  • 코드 컨벤션에 어긋나는 부분이 없나요?
  • 로컬 머지 시 기능에 이상이 없었나요?
  • PR base가 올바른가요? (development 특히 주의)

🔘담당

  • FE
  • BE
  • Deploy

❗변경사항

  • 기능 추가
  • 버그 수정
  • 스타일링
  • 리팩토링 (기능, API 변경사항 없음)
  • 문서 작성

🔎 작업 내용

BE

  • 설정/환경: LOGIN_URL, STATIC_URL, MEDIA_ROOT 조정
  • 명령어: scraper, generate_clusters 정리

FE (Templates/JS/CSS)

  • 템플릿: 이미지 fallback {% static %} 사용
  • JS: get_rating 제품 ID 가드, 401 처리 시 redirect_url 사용

데이터/파일

  • 생성/위치 정책: 런타임 생성 → MEDIA_ROOT/data/

배포 메모

  • 필요한 ENV: SECRET_KEY, DB, ALLOWED_HOSTS, STATIC_URL, MEDIA_ROOT
  • 배포 후 실행:
    python manage.py migrate
    python manage.py collectstatic --noinput
    # 다시 crawling 필요 시
    ubuntu@moodico-instance:~/Moodico$ python manage.py scraper
    # 색상 클러스터 파일 필요 시
    ubuntu@moodico-instance:~/Moodico$ python manage.py generate_clusters
    <br/>

@namu627 namu627 merged commit 5790f16 into develop Aug 15, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants