Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] 백엔드 서버 CI/CD 배포 라인 구축 #16

Closed
7 tasks done
nakyeonko3 opened this issue Oct 13, 2024 · 1 comment
Closed
7 tasks done

[feat] 백엔드 서버 CI/CD 배포 라인 구축 #16

nakyeonko3 opened this issue Oct 13, 2024 · 1 comment
Assignees
Labels
chore Package manager updates or minor changes (e.g., .gitignore) feat New features or functionality

Comments

@nakyeonko3
Copy link
Contributor

nakyeonko3 commented Oct 13, 2024

📄 설명

CI/CD 배포 라인 설정

  • ec2, github aciton, express 를 이용해서 백엔드 서버만 배포를 할 예정.
  • main 브랜치에 커밋이 될 때마다 자동으로 변경된 내용이 ec2 서버에 반영되고 재배포되도록 설정할 예정.

참고

https://hackernoon.com/lang/ko/github-%EB%B0%8F-aws-ec2%EB%A5%BC-%EC%82%AC%EC%9A%A9%ED%95%98%EC%97%AC-cicd-%ED%8C%8C%EC%9D%B4%ED%94%84%EB%9D%BC%EC%9D%B8%EC%9D%84-%EC%83%9D%EC%84%B1%ED%95%98%EB%8A%94-%EB%B0%A9%EB%B2%95

✅ 작업 목록

  • ec2 ci/cd express 배포하기

    • ec2 서버 인스턴스 만들고 express 작동하는지 확인하기
    • github action으로 배포 세팅하기
    • 배포 하기
    • 배포 확인하기
  • 배포 workflow 설정 작업

  • 실제 배포가 일어나는지 확인하고 테스트 하기

@nakyeonko3 nakyeonko3 added chore Package manager updates or minor changes (e.g., .gitignore) feat New features or functionality labels Oct 13, 2024
nakyeonko3 added a commit that referenced this issue Oct 13, 2024
- .github/workflows/server_cicd.yml 파일이 추가됨.
- server/src/app.ts 수정, "/" 경로에 "Hello World!" 출력하도록 수정
nakyeonko3 added a commit that referenced this issue Oct 13, 2024
- ecosystem.config.js 파일이 추가
- ec2에 설치된 pm2로 서버를 실행하도록 수정
nakyeonko3 added a commit that referenced this issue Oct 13, 2024
- server/ecosystem.config.js 파일이 추가
nakyeonko3 added a commit that referenced this issue Oct 13, 2024
- ecosystem.config.js 파일이 추가
- ec2에 설치된 pm2로 서버를 실행하도록 수정
nakyeonko3 added a commit that referenced this issue Oct 13, 2024
[feat] server폴더 ci/cd 배포 workflow 구축(#16)
@Sonseongoh
Copy link
Contributor

훌륭합니다 낙연님

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Package manager updates or minor changes (e.g., .gitignore) feat New features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants