Open yoona-J opened 1 month ago
-> 왜 인지 모르겠으나 다음 날 다시 진행하니 해결되었다,,,
git init
sudo nginx -v
git clone https://github.com/four-est/friends_project.git
이후 클론된 코드를 처리함
pwd
-> 현재 디렉토리 루트 확인ls
-> 이후 디렉토리 리스트 확인cd /home/ubuntu/friends_project
-> 루트 이동git pull
-> 깃 받아오기node -v
-> 노드 버전 확인 (10.16.0) // 노드 버전 다른 경우 nvm use 10.16.0
npm install
-> server 단 node_module 다운로드cd client
로 루트 이동 -> npm install
로 client 단 node_module 다운로드npm run build
screen
생성 -> 서버를 계속 돌릴 스크린을 생성해야 함node server/index.js
로 서버 돌리기sudo systemctl stop nginx
-> sudo systemctl start nginx
로 서버 재실행
ubuntu 서버 내에서
$ git init
시 .git: Permission denied 이슈 발생 이후$ git clone https://github.com/four-est/friends_project.git
로 깃헙 클론을 원했으나 fatal: could not create work tree dir 'friends_project': Permission denied 이슈가 나타남