Skip to content

Commit

Permalink
docs: setting root readme with koreand root readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hyesungoh committed Aug 2, 2022
1 parent 2462a38 commit 48a4920
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 74 deletions.
40 changes: 3 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,45 +113,11 @@ please read following link.
- [how to add blog post](https://github.com/hyesungoh/hyesungoh-land/tree/main/_docs/en-blog.md)
- [how to custom resume](https://github.com/hyesungoh/hyesungoh-land/tree/main/_docs/en-resume.md)

## How to deploy with vercel
## How to deploy

### 1. Import git repository
#### [deploy with vercel (recommend)](https://github.com/hyesungoh/hyesungoh-land/tree/main/_docs/en-deploy-vercel.md)

![deploy step 1](https://user-images.githubusercontent.com/26461307/177278351-7b82fcbe-e6db-46bd-93f4-10e8524ef2bf.gif)

### 2. Select framework preset to `Next.js`

![deploy step 2](https://user-images.githubusercontent.com/26461307/177278363-509b3d69-f692-4458-8bc2-62173eef5e7e.gif)

### 3. Set root directory to `apps/blog` or `apps/resume`

![deploy step 3](https://user-images.githubusercontent.com/26461307/177278370-1651b4d7-e561-44df-8a62-a283450773d9.gif)

### 4. Set build command

![deploy step 4](https://user-images.githubusercontent.com/26461307/177278380-659ba348-7952-4875-9e19-0a006ad57c1a.gif)

- blog build command

```bash
cd ../.. && npx turbo run build --scope=blog --include-dependencies --no-deps
```

- resume build command

```bash
cd ../.. && npx turbo run build --scope=resume --include-dependencies --no-deps
```

### 5. Click the Deploy button! 🎉

![click the deploy button](https://user-images.githubusercontent.com/26461307/177278617-82982395-d1fc-46f1-8f96-f7cb7bae95d9.png)

### More information

This project using `turborepo`.

so, you can find more information at this [vercel guide](https://vercel.com/docs/concepts/monorepos/turborepo).
#### [deploy with github pages](https://github.com/hyesungoh/hyesungoh-land/tree/main/_docs/en-deploy-github-pages.md)

## How to add more packages

Expand Down
39 changes: 39 additions & 0 deletions _docs/en-deploy-vercel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# How to deploy with vercel

### 1. Import git repository

![deploy step 1](https://user-images.githubusercontent.com/26461307/177278351-7b82fcbe-e6db-46bd-93f4-10e8524ef2bf.gif)

### 2. Select framework preset to `Next.js`

![deploy step 2](https://user-images.githubusercontent.com/26461307/177278363-509b3d69-f692-4458-8bc2-62173eef5e7e.gif)

### 3. Set root directory to `apps/blog` or `apps/resume`

![deploy step 3](https://user-images.githubusercontent.com/26461307/177278370-1651b4d7-e561-44df-8a62-a283450773d9.gif)

### 4. Set build command

![deploy step 4](https://user-images.githubusercontent.com/26461307/177278380-659ba348-7952-4875-9e19-0a006ad57c1a.gif)

- blog build command

```bash
cd ../.. && npx turbo run build --scope=blog --include-dependencies --no-deps
```

- resume build command

```bash
cd ../.. && npx turbo run build --scope=resume --include-dependencies --no-deps
```

### 5. Click the Deploy button! 🎉

![click the deploy button](https://user-images.githubusercontent.com/26461307/177278617-82982395-d1fc-46f1-8f96-f7cb7bae95d9.png)

### More information

This project using `turborepo`.

so, you can find more information at this [vercel guide](https://vercel.com/docs/concepts/monorepos/turborepo).
39 changes: 39 additions & 0 deletions _docs/ko-deploy-vercel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Vercel을 이용해 배포하는 방법

### 1. Import git repository

![deploy step 1](https://user-images.githubusercontent.com/26461307/177278351-7b82fcbe-e6db-46bd-93f4-10e8524ef2bf.gif)

### 2. framework preset을 `Next.js`로 설정

![deploy step 2](https://user-images.githubusercontent.com/26461307/177278363-509b3d69-f692-4458-8bc2-62173eef5e7e.gif)

### 3. root directory를 `apps/blog` 혹은 `apps/resume`로 설정

![deploy step 3](https://user-images.githubusercontent.com/26461307/177278370-1651b4d7-e561-44df-8a62-a283450773d9.gif)

### 4. build command 설정

![deploy step 4](https://user-images.githubusercontent.com/26461307/177278380-659ba348-7952-4875-9e19-0a006ad57c1a.gif)

- blog build command

```bash
cd ../.. && npx turbo run build --scope=blog --include-dependencies --no-deps
```

- resume build command

```bash
cd ../.. && npx turbo run build --scope=resume --include-dependencies --no-deps
```

### 5. Depoly 버튼 클릭! 🎉

![click the deploy button](https://user-images.githubusercontent.com/26461307/177278617-82982395-d1fc-46f1-8f96-f7cb7bae95d9.png)

### 추가 정보

이 프로젝트는 `turborepo`를 사용하였습니다.

그렇기 때문에 추가적인 정보는 [vercel 가이드 링크](https://vercel.com/docs/concepts/git/monorepos#turborepo)에서 확인할 수 있습니다.
40 changes: 3 additions & 37 deletions _docs/ko-readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,45 +113,11 @@ yarn dev
- [블로그 글 게시하는 방법](https://github.com/hyesungoh/hyesungoh-land/tree/main/_docs/ko-blog.md)
- [이력서 수정하는 방법](https://github.com/hyesungoh/hyesungoh-land/tree/main/_docs/ko-resume.md)

## Vercel을 이용해 배포하는 방법
## 배포하는 방법

### 1. Import git repository
#### [Vercel로 배포하기 (추천)](https://github.com/hyesungoh/hyesungoh-land/tree/main/_docs/ko-deploy-vercel.md)

![deploy step 1](https://user-images.githubusercontent.com/26461307/177278351-7b82fcbe-e6db-46bd-93f4-10e8524ef2bf.gif)

### 2. framework preset을 `Next.js`로 설정

![deploy step 2](https://user-images.githubusercontent.com/26461307/177278363-509b3d69-f692-4458-8bc2-62173eef5e7e.gif)

### 3. root directory를 `apps/blog` 혹은 `apps/resume`로 설정

![deploy step 3](https://user-images.githubusercontent.com/26461307/177278370-1651b4d7-e561-44df-8a62-a283450773d9.gif)

### 4. build command 설정

![deploy step 4](https://user-images.githubusercontent.com/26461307/177278380-659ba348-7952-4875-9e19-0a006ad57c1a.gif)

- blog build command

```bash
cd ../.. && npx turbo run build --scope=blog --include-dependencies --no-deps
```

- resume build command

```bash
cd ../.. && npx turbo run build --scope=resume --include-dependencies --no-deps
```

### 5. Depoly 버튼 클릭! 🎉

![click the deploy button](https://user-images.githubusercontent.com/26461307/177278617-82982395-d1fc-46f1-8f96-f7cb7bae95d9.png)

### 추가 정보

이 프로젝트는 `turborepo`를 사용하였습니다.

그렇기 때문에 추가적인 정보는 [vercel 가이드 링크](https://vercel.com/docs/concepts/git/monorepos#turborepo)에서 확인할 수 있습니다.
#### [Github pages로 배포하기](https://github.com/hyesungoh/hyesungoh-land/tree/main/_docs/ko-deploy-github-pages.md)

## 추가 패키지 설치하는 방법

Expand Down

0 comments on commit 48a4920

Please sign in to comment.