ScanCode & AboutCode
오픈SW 라이선스 검사도구이며 오픈 소스로 공개되어 있음.
코드를 스캔해 패키지 및 종속성, 라이선스, 저작권 등을 감지 해줌.
문서 작성하며 사용한 개발 환경
- mac m3
- homebrew 설치 되어있음
- Python 3.12
공식 레포지토리
scancodeio
https://scancodeio.readthedocs.io/en/latest/installation.html#local-development
scancode-toolkit
https://scancode-toolkit.readthedocs.io/en/stable/getting-started/install.html
의존성 설치
brew install universal-ctagsbrew install gettextbrew install jadxbrew install libmagic brew install file복제 및 구성
ScanCode.io GitHub 저장소 복제
git clone https://github.com/aboutcode-org/scancode.io.git && cd scancode.ioscancode.io/ 디렉터리 내부에 필요한 종속성을 설치합니다.
make dev환경 파일 만들기
make envfile+ Android 배포를 위한 파이프라인을 설치
source .venv/bin/activate
pip install android-inspector
데이터베이스 설정
postgresql 설정
scanio 데이터베이스 생성
make postgresdb테스트
make test웹 애플리케이션 구동
구동
make run