본문 바로가기

전체 글461

git & github 협업툴 익히기 #환경변수 설정 git config --list git config --global user.name “username” git config --global user.email “useremail” git config --global core.editor "vim” git config --global core.pager “cat” git add “file” git commit feat/fix/docs/test/conf/build/ci .. 등 명시 git setting > Personal access tokens 설정 copy token git push origin main token access git, github 협업하기 브랜치 생성 : git branch “브랜치명” 브랜치 옮기기 : git sw.. 2023. 1. 17.
[BE] Django 프로젝트 Django: Flask 보다 구조화 Framework vs library: Django vs jQuery MVC pattern( django: MTV ) model.py: 데이터 다룸 templates: html로 보여줌 view.py: 로직 다룸 ⇒ urls.py에서 path경로 설정. venv (가상환경) 설정 python -m venv venv .\venv\Scripts\activate pip install django pip install djangorestframework pip install djangorestframework-simplejwt pip freeze > requirements.txt django-admin django-admin startproject shinhanapp cd .. 2023. 1. 17.
aws ec2 nohup 안녕하세요 공대남입니다. aws ec2에서 서버를 종료해도 백그라운드에서 프로그램을 실행시켜주는 명령어인 nohup 명령어를 알아보겠습니다. 1.sudo nohup python3 [프로그램명] & 2.ps - ef | grep python3 실행중인 백그라운드를 확인해보세요 간혹가다 FileZilla에 수정된 파일을 올려줬음에도 홈페이지가 반영이 안된다면 nohup 프로세스를 삭제한후 진행하셔야합니다. sudo kill -9 [프로세스] 2022. 12. 27.
AWS에 mongodb 설치 안녕하세요 공대남입니다 aws에 mongodb 설치 후 연동하기 위해 아래의 링크를 첨부합니다. https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-amazon/ Install MongoDB Community Edition on Amazon Linux — MongoDB Manual Docs Home → MongoDB Manual MongoDB AtlasMongoDB Atlas is a hosted MongoDB service option in the cloud which requires no installation overhead and offers a free tier to get started.Use this tutorial to inst.. 2022. 12. 27.
728x90