Frontend
How to make my web application ready
Getting Started
Korean
1. 레포지터리를 클론합니다.
'git clone https://github.com/osamhack2020/Web_SpecialForces_SpecialWarrior'
2. 'cd Web_SpecialForces_SpecialWarrior'로 클론 된 레포지터리로 이동합니다.
3. 'cd backoffice'로 백오피스 디렉터리로 이동합니다.
4. 'npm install'로 `package.json`에 저장된 의존성을 설치합니다.
5. `vue.config.js`를 선호하는 에디터로 엽니다.
6. `outputDir` 변수를 원하는 출력 디렉토리로 변경합니다.
7. `publicPath` 변수를 원하는 서비스 경로로 변경합니다.
예를 들어, 만약 "https://your_path.to.service/sf-backoffice" 경로에서 서비스 하고 싶다면
'/sf-backoffice' 로 변경합니다.
8. `store.js`를 열고, 8번째 행의 resourceHost를 API 주소로 지정합니다.
9. 'npm run build'로 빌드를 진행하고 완료를 기다립니다.
10. '6.' 의 `outputDir` 에 생성된 정적 페이지를 서비스할 서버에 복사합니다.English
Last updated
Was this helpful?