⬅️ 이전     🏠 분류 목차

라이선스 선택 가이드

라이선스 선택 가이드

1. 라이선스 선택 시 고려사항

프로젝트 성격:

  • 상업적 목적: MIT, Apache 2.0 권장
  • 교육 목적: MIT, GPL 권장
  • 커뮤니티 프로젝트: GPL, Apache 2.0 권장

개발 환경:

  • 기업 환경: Apache 2.0, MIT 권장
  • 학술 환경: MIT, GPL 권장
  • 개인 프로젝트: MIT 권장

2. 라이선스 적용 방법

라이선스 파일 생성:

  1. LICENSE 파일: 프로젝트 루트에 LICENSE 파일 생성
  2. 저작권 표시: 소스 코드 파일에 저작권 표시 추가
  3. README 업데이트: README 파일에 라이선스 정보 포함

라이선스 파일 예시:

MIT License 예시:

MIT License

Copyright (c) [year] [fullname]

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

⬅️ 이전

서브목차