일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- 바로학교
- 유튜브
- python
- 단축어
- 충북
- venv
- Google Drive
- nocookie
- 아이폰
- 추천 영상
- 리스트
- 파이썬
- 탐욕 알고리즘
- pymongo
- 링크
- MongoDB
- 구글 드라이브
- G-Suite
- 코딩
- flask
- Django
- DB
- selenium
- 장고
- 알고리즘
- gpu 병렬처리
- List
- 그리디 알고리즘
- 깃허브
- docker-compose
Archives
- Today
- Total
목록2021/01/12 (1)
SSAMKO의 개발 이야기
[django] systemd, gunicorn, nginx 서버 배포하기
1. 가상환경 실행 2. pip install gunicorn 3. manage.py가 있는 폴더로 이동 4. gunicorn 설정 gunicorn --bind 0.0.0.0:8000 myProject.wsgi:application myProject에는 본인의 project이름을 넣는다. 스크립트 생성 /etc/systemd/system/gunicorn.service [Unit] Description=gunicorn After=network.target [Service] User= Group=www-data WorkingDirectory=/path/to/yourProject ExecStart=/path/to/yourProject/venv/bin/gunicorn \ --workers 3 \ --bind u..
Django
2021. 1. 12. 07:16