# 코드 서빙 생성

코드 서빙을 생성하고 어떻게 만들어졌는지 확인한 후에 코드 서빙을 실제로 사용해보겠습니다.

### 1. 메뉴에서 '**서빙 > 코드 서빙' 진입**

<figure><img src="/files/97kkGwDL4ZUe1pO2wBFt" alt=""><figcaption></figcaption></figure>

### **2. '코드 서빙 생성' 버튼**을 클릭

<figure><img src="/files/Sy3kusOGJAhsJLpUZkAv" alt=""><figcaption></figcaption></figure>

제목과 상세 설명, 관리 그룹을 상황에 맞게 적으시면 됩니다.

<figure><img src="/files/a7Svzjfxf6hCvzVcuedG" alt=""><figcaption></figcaption></figure>

### **3. 코드 서빙 생성 확인**

<figure><img src="/files/4SNZhooQGgLRtU9vzLzi" alt=""><figcaption></figcaption></figure>

생성 완료하시면 목록에 있는 걸 확인할 수 있습니다. 더블 클릭을 통해 상세 페이지로 접근이 가능합니다.

### **4. 코드 서빙 상세 페이지**

#### **a. 기본 정보**

<figure><img src="/files/r4rcacNPqcI7ZLwgMuWL" alt=""><figcaption></figcaption></figure>

코드 서빙 상세 페이지입니다. 여기서 생성한 코드 서빙의 정보와 저장소의 주소를 확인할 수 있습니다. 또한 배포, 배포 중지, 삭제, 수정이 가능합니다.

#### **b. 커밋 목록**

<figure><img src="/files/47ntf6fS4G1Cu6aCgq7Y" alt=""><figcaption></figcaption></figure>

커밋 목록을 통해 커밋 해시, 커밋 메시지, 커밋 유저와 등록 일시를 확인할 수 있습니다.

#### **c. 인증 키**

<figure><img src="/files/WiNivl4XNIdpVWSDqo2K" alt=""><figcaption></figcaption></figure>

인증 키 란에서 인증 키를 생성할 수 있습니다.

#### **d. 컨테이너 상태**

<figure><img src="/files/WHqGIJ6HqB96vwXSYZDU" alt=""><figcaption></figcaption></figure>

컨테이너 상태에서 이벤트 로그와

<figure><img src="/files/rZ9IrMaitJXolIzIUmBd" alt=""><figcaption></figcaption></figure>

컨테이너 로그를 확인할 수 있습니다.

### **5. 코드 서빙 이용**

기존에 만드신 코드 스페이스에서 코드 서빙을 통해 형상 관리를 할 있습니다.

VSCode로 접속해보겠습니다.

<figure><img src="/files/0hVV8oQvJmzU0XPyMWiu" alt=""><figcaption></figcaption></figure>

VSCode 접속화면입니다. 터미널로 접속해 코드 서빙에 있었던 저장소 주소로 **git clone**을 해보겠습니다.

<figure><img src="/files/rF6yTi2EAVbODfCNgrGj" alt=""><figcaption></figcaption></figure>

```
git clone {코드 서빙 저장소 주소}
```

를 입력하시면 됩니다.

<figure><img src="/files/M4hOgFFVyYrBwrXlAqSG" alt=""><figcaption></figcaption></figure>

**username**을 입력하라고 나옵니다. **username**은 **GenOS의 아이디**와 일치합니다.

<figure><img src="/files/cyKA8Dm7HktxzT6N9s8z" alt=""><figcaption></figcaption></figure>

**패스워드**를 입력하라고 나옵니다. **패스워드**는

<figure><img src="/files/EZM4B1m2PGhzK614M1ZT" alt=""><figcaption></figcaption></figure>

**GenOS 홈페이지**에서 **개발자 도구 - 저장 공간 - 로컬 저장 공간**에 들어가시면 **accessToken**을 확인하실 수 있습니다. **accessToken**이 패스워드입니다.

<figure><img src="/files/cQKCt1eUAV6euZALpzZi" alt=""><figcaption></figcaption></figure>

정상적으로 clone이 된 걸 확인할 수 있습니다. 이제 Git 명령어들을 통해 형상 관리를 할 수 있습니다.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://genos-docs.gitbook.io/default/v1.8.4/basic-tutorials/guides/development/code_serving/create_code_serving.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
