알쓸전컴(알아두면 쓸모있는 전자 컴퓨터)

Apache2에서 Django 배포 재작성의 이유 최근에 python 버전의 다양화에 따른 mod_wsgi 의 실행 환경의 변화 Django의 많은 버전 업그레이드 DjangoRestFrameWork 인증 이슈(JWT 포함) ubuntu 에서 설정 디테일 하게 하기 위해. 위와 같은 이유로 배포 절차를 다시 작성 하게 되었습니다. Django Project 기본 정보 프로젝트 이름 : bwaferMap static 파일 경로: static collectstatic 경로: staticfiles settings.py STATIC_URL = '/bWaferMap/static/' STATICFILES_DIRS = [ BASE_DIR / 'static' ] STATIC_ROOT = os.path.join(BASE..
아래와 같이 입력해 줍니다. sudo sh -c "/usr/bin/printf '\xfe\xed\xfe\xed\x00\x00\x00\x02\x00\x00\x00\x00\xe2\x68\x6e\x45\xfb\x43\xdf\xa4\xd9\x92\xdd\x41\xce\xb6\xb2\x1c\x63\x30\xd7\x92' > /etc/ssl/certs/java/cacerts" sudo /var/lib/dpkg/info/ca-certificates-java.postinst configure 출처 multicloud.tistory.com/105

grpc.io/docs/languages/python/quickstart/ Quick start This guide gets you started with gRPC in Python with a simple working example. grpc.io 문서에는 툭 하니 아래와 같이 쓰라고 하고 설명을 읽었지만 이렇게 하면 helloworld_pb2.py , helloworld_pb2_grpc.py 가 생성 된다고 나오지만 Input 인자에 대한 이해가 부족해 한참을 헤메 었기에 적어 둔다. python -m grpc_tools.protoc -I../../protos --python_out=. --grpc_python_out=. ../../protos/helloworld.proto -I 옵션은 protos..