Kimyeongkyung
Git bash 서버 설정 본문
서버 세팅하기
# python3 -> python
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10
# pip3 -> pip
sudo apt-get update
sudo apt-get install -y python3-pip
sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
# port forwarding
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 5000
계속 돌아가게 하기
nohup python app.py &
작업할 게 남았을 때 강제 종료하기
ps -ef | grep 'python app.py' | awk '{print $2}' | xargs kill
styled-component 설치
npm 설치 명령어
npm install styled-components
yarn 설치 명령어
yarn add styled-components
react-router-dom 설치
npm 설치 명령어
npm i react-router-dom@5.2.1
yarn 설치 명령어
yarn add react-router-dom@5.2.1
'important' 카테고리의 다른 글
서버 사이드 렌더링(Server Side Rendering) VS 클라이언트 사이드 렌더링(Client Side Rendering) (0) | 2022.04.15 |
---|---|
브라우저 저장소(Web storage, cookie) (0) | 2022.04.05 |
리액트 이론_2 (0) | 2022.04.01 |
.slice / .substr / .substring 비교 +split() (0) | 2022.03.14 |
자바스크립트 기초문법 정리 (0) | 2022.03.13 |