전체 글 222

Ubuntu 22.04 서버에 django 프로젝트 배포

Ubuntu 22.04 설정 및 apache2, mysql 설치는 https://moon0sool.tistory.com/270 참조하세요. Step 1: mod_wsgi 설치 mod_wsgi는 Python 기반의 웹 어플리케이션를 Apache 웹서버 위에서 가동할 수 있도록 연결해주는 역할을 하는 Apache 모듈이다. # apt install libapache2-mod-wsgi-py3 Step 2: libmysqlclient-dev 설치 mysqlclient는 mysql과 SQLAlchemy(Python ORM)를 연결해주는 역할을 하며 libmysqlclient-dev가 먼저 설치 되어야 설치할 수 있다. 먼저 libmysqlclient-dev 를 설치하고 mysqlclient는 가상환경 설정 후 설..

카테고리 없음 2024.03.19

Git simple 정리

https://github.com/ 가입 1. git 설치하기: https://git-scm.com/ 2. git bash 열기 3. git bash 환경설정하기 1) user name 설정 git config --global user.name "wordless1101" git config --global user.name "{사용자이름}" 2) user email 설정 git config global user.email "wordless@naver.com" git config global user.email "{이메일주소}" 3) 확인 git config --list 1. 초기화 (Initialization): 프로젝트 생성하고 처음에 한번만 한다. git init 2. 수정된 파일 더하기 git ad..

카테고리 없음 2023.11.29