IntelliJ Idea SpringBoot 데이터베이스 추가 삭제 검사 사례 상세 설명

SpringBoot 는 SpringMVC 의 업그레이드 로 인 코딩,배치,배치 와 모니터링 에 더욱 간단 합 니 다.
마이크로 서비스
마이크로 서 비 스 는 새로운 소프트웨어 구조 로 대형 단일 응용 프로그램 과 서 비 스 를 수 십 개의 지원 마이크로 서비스 로 나 누 는 것 이다.하나의 마이크로 서비스 전략 은 전체 응용 프로그램 스 택 이 아 닌 하나의 구성 요 소 를 확장 하여 서비스 등급 협 의 를 만족 시 킬 수 있 습 니 다.
Spring 은 마이크로 서비스 에 전체 구성 요 소 를 제공 합 니 다.-SpringClound,SpirngBoot 가 바로 이 기초 입 니 다.

첫 번 째 SpringBoot 프로그램 입 니 다.
여기 서 사용 하 는 개발 소프트웨어 는 IntelliJ Idea 로 Eclipse 와 차이 가 많 지 않 고 인터페이스 가 더욱 멋 지고 기능 이 강하 다.Android Studio 는 IntelliJ 를 바탕 으로 개 발 된 것 입 니 다.저 는 예전 에 Android Studio 를 사용 한 적 이 있 습 니 다.두 화면 은 거의 같 습 니 다.
IntelliJ Idea 홈 페이지:http://www.jetbrains.com/idea/
Maven,tomcat,jdk 를 설정 하면 사용 할 수 있 습 니 다.
maven 이 설정 한 중앙 창고 아 리 클 라 우 드 미 러,이 주 소 는 jar 가방 을 다운로드 하 는 속도 입 니 다.누가 알 고 있 습 니까?
setting.xml
.
.
<mirrors>
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
.
.
IDEA 를 사용 하여 SpringBoot 프로젝트 만 들 기나의 IDEA 버 전:IntelliJ IDEA 2016.3.1





프로젝트 구성:

프로젝트 기본 maven pom.xml 파일
pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.jxust</groupId>
<artifactId>spirngbootdemo</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>spirngbootdemo</name>
<description>Demo project for Spring Boot</description>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.4.2.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
SpirngbootdemoApplication 을 실행 하 는 main 방법 으로 실행 을 시작 할 수 있 습 니 다.다른 시작 방식 은 비디오 튜 토리 얼http://www.imooc.com/learn/767\을 보 세 요.
콘 솔 출력:
"C:\Program Files\Java\jdk1.8.0_91\bin\java" ....
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.4.2.RELEASE)
2016-12-16 14:56:52.083 INFO 15872 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
2016-12-16 14:56:52.215 INFO 15872 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http)
2016-12-16 14:56:52.255 INFO 15872 --- [ main] com.jxust.SpirngbootdemoApplication : Started SpirngbootdemoApplication in 7.795 seconds (JVM running for 9.177)
여기 서 Tomcat 의 포트 번 호 를 볼 수 있 습 니 다.사용자 정의 Controller 가 없 기 때문에 아직 보기 가 없습니다.다음은 출력 Hello SpringBoot 를 만 듭 니 다!보다컨트롤 러 패키지 아래 HelloController 만 들 기

HelloController.java
package com.jxust.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* Created by Peng
* Time: 2016/12/16 15:45
*/
@RestController
public class HelloController {
@RequestMapping("/hello")
public String say(){
return "Hello SpringBoot!";
}
}
@RestController Spring 4 이후 새로 추 가 된 주 해 는 json 으로 돌아 가 려 면@ResponseBody 협조@Controller 가 필요 합 니 다.지금 은 두 개 입 니 다.브 라 우 저 에 입력http://localhost:8080/hello하면 Hello SpringBoot 를 출력 할 수 있 습 니 다!그 말

사용자 정의 속성 설정
응용 프로그램.properties 라 는 파일 을 사 용 했 습 니 다.

포트 번호 와 접근 접두사 설정
application.properties
server.port=8081
server.context-path=/springboot

.properties 형식의 파일 을 사용 하 는 것 외 에 도.yml 형식의 프로필(추천)을 사용 할 수 있어 더욱 간편 합 니 다.
application.yml

원래 application.properties 파일 삭제
격식 에 주의 하 세 요.빈 칸 이 없어 서 는 안 됩 니 다.
프로필 의 속성 값 가 져 오기
설정 파일 에서 데 이 터 를 설정 하고 Controller 에서 가 져 올 수 있 습 니 다.예 를 들 어:
application.yml
server:
port: 8081
context-path: /springboot
name:
HelloController 설정 파일 의 값 가 져 오기HelloController.java
....
@RestController
public class HelloController {
@Value("${name}")
private String name;
@RequestMapping(value = "/hello",method = RequestMethod.GET)
public String say(){
return name;
}
}
name 값 으로 되 돌아 가기
설정 파일 의 중간 값 설정 방식 의 다양성
설정 파일 의 값 은 여러 개 일 수도 있 고 조합 일 수도 있 습 니 다.예 를 들 어:
application.yml
name:
age: 22
name:
age: 22
content: "name: ${name},age: ${age}"
server:
port: 8081
context-path: /springboot
person:
name:
age: 22
앞의 두 가지 설정 에서 값 을 가 져 오 는 방식 은 모두 같 지만 이런 방식 에 대해 person 은 해당 하 는 두 가지 속성 이 있 으 므 로 이렇게 처리 해 야 합 니 다.PersonProperties.java
package com.jxust;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
* Created by Peng
* Time: 2016/12/16 16:34
*/
@Component
@ConfigurationProperties(prefix = "person")
public class PersonProperties {
private String name;
private Integer age;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Integer getAge() {
return age;
}
public void setAge(Integer age) {
this.age = age;
}
}
Alt+insert 단축 키 알림 생 성 Getter 및 Setterpom.xml 는 아래 의 의존 을 추가 하고 경 고 를 처리 해 야 합 니 다.
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
HelloController.java
package com.jxust.controller;
import com.jxust.PersonProperties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
/**
* Created by Peng
* Time: 2016/12/15 20:55
*/
@RestController
public class HelloController {
@Autowired
private PersonProperties personProperties;
@RequestMapping(value = "/hello",method = RequestMethod.GET)
public String say(){
return personProperties.getName()+personProperties.getAge();
}
}

프로필 application.yml 에 대한 여러 설정
il8n 파일 국제 화 설정 방식 i18nen_US.properties 와 i18nzh_CN.properties
이렇게 하면 해결 할 수 있 고 설정 을 자주 수정 해 야 하 는 난처 함 을 해결 할 수 있다.

응용 프로그램.yml 프로필 에서 그 프로필 을 사용 하기 로 결 정 했 습 니 다.
application.yml
spring:
profiles:
active: a
application-a.yml
server:
port: 8081
context-path: /springboot
person:
name:
age: 21
application-b.yml
server:
port: 8081
context-path: /springboot
person:
name:
age: 22
SpringBoot 첨삭 검사 실례완전한 프로젝트 구조

컨트롤 러 사용
@Controller chu 처리 http 요청
@RestController Spring 4 이후 새로 추 가 된 주 해 는 json 으로 돌아 가 려 면@ResponseBody 협조@Controller 가 필요 합 니 다.
@RequestMapping 설정 url 맵
REST 스타일 에 대한 요청

Controller 의 방법 에 대한 설명
@RequestMapping(value = “/hello”,method = RequestMethod.GET) @RequestMapping(value = “/hello”,method = RequestMethod.POST) @RequestMapping(value = “/hello”,method = RequestMethod.DELETE) @RequestMapping(value = “/hello”,method = RequestMethod.PUT)
SpringBoot 는 위의 주 해 를 간소화 하 였 다.
@GetMapping(value = “/girls”) @PostMapping(value = “/girls”) @PutMapping(value = “/girls/{id}”) @DeleteMapping(value = “/girls/{id}”)
브 라 우 저 는 다양한 방식 의 요청 을 보 내야 합 니 다.HttpRequester 플러그 인 을 설치 할 수 있 고,불 여우 브 라 우 저 는 이 구성 요 소 를 직접 검색 해서 설치 할 수 있 습 니 다.

spring-data-jpa
JPA 는 자바 Persistence API 라 고 부 릅 니 다.JPA 는 JDK 5.0 주석 이나 XML 을 통 해 대상-관계 표 의 매 핑 관 계 를 설명 하고 실행 기간 의 실체 대상 을 데이터베이스 에 영구적 으로 유지 합 니 다.
Hibernate 3.2+,TopLink 10.1.3,OpenJPA 는 모두 JPA 의 실현 을 제공 했다.
JPA 를 이용 하여 MySQL 데이터 베 이 스 를 만 듭 니 다.
pom.xml JPA 와 MySQL 의 의존 도 를 추가 합 니 다.
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
JPA 와 데이터베이스 설정application.yml
spring:
profiles:
active: a
datasource:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/db_person
username: root
password: root
jpa:
hibernate:
ddl-auto: update
show-sql: true
격식 이 중요 하 다db 를 직접 만들어 야 합 니 다.person 데이터베이스
데이터 시트 에 대응 하 는 실체 클래스 Person 만 들 기

Person.java
package com.jxust.entity;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
/**
* Created by Peng
* Time: 2016/12/16 17:56
*/
@Entity
public class Person {
@Id
@GeneratedValue
private Integer id;
private String name;
private Integer age;
//
public Person() {
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Integer getAge() {
return age;
}
public void setAge(Integer age) {
this.age = age;
}
}
프로젝트 를 실행 한 후 데이터 베 이 스 를 보면 표 person 이 자동 으로 생 성 됩 니 다.
mysql> use db_person;
Database changed
mysql> desc person;
+-------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------+--------------+------+-----+---------+----------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| age | int(11) | YES | | NULL | |
| name | varchar(255) | YES | | NULL | |
+-------+--------------+------+-----+---------+----------------+
3 rows in set (0.09 sec)
다음은 person 표 의 첨삭 과 수정 을 진행 할 수 있 습 니 다.컨트롤 러 PersonController.java 만 들 기

먼저 인터페이스 PersonRepository 를 만 듭 니 다.dao 패키지 에 있 는 PersonController 는 이 인 터 페 이 스 를 JpaRepository 에서 계승 하 는 방법 으로 데이터 베이스 와 의 상호작용 을 실현 합 니 다.
이 Person Repository 인터페이스의 기능 은 SSM 프레임 워 크 의 dao 층 인터페이스 기능 과 다른 점 이 있 습 니 다.SSM 프레임 워 크 에서 Service 층 은 이 인 터 페 이 스 를 통 해 Mybatis 데이터베이스 맵 파일(.xml)에 있 는 해당 sql 문 구 를 간접 적 으로 실행 하고 데이터 베 이 스 를 추가 삭제 하고 수정 하 는 작업 을 수행 합 니 다.(메 이 퍼 자동 DAO 인터페이스 구현)
PersonRepository.java
package com.jxust.dao;
import com.jxust.entity.Person;
import org.springframework.data.jpa.repository.JpaRepository;
/**
* Created by Peng
* Time: 2016/12/16 18:07
*/
public interface PersonRepository extends JpaRepository<Person,Integer> {
}
PersonController.java
package com.jxust.controller;
import com.jxust.dao.PersonRepository;
import com.jxust.entity.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
/**
* Created by Peng
* Time: 2016/12/16 18:04
*/
@RestController
public class PersonController {
@Autowired
PersonRepository personRepository;
@GetMapping(value = "/person")
private List<Person> personList() {
return personRepository.findAll();
}
}
데이터베이스 에 두 개의 데 이 터 를 추가 합 니 다.
mysql> select * from person;
+----+------+--------+
| id | age | name |
+----+------+--------+
| 1 | 23 | |
| 2 | 21 | |
+----+------+--------+
2 rows in set (0.04 sec)
프로젝트 실행 요청 시작http://localhost:8081/springboot/person
콘 솔 출력 sql 구문:
Hibernate: select person0_.id as id1_0_, person0_.age as age2_0_, person0_.name as name3_0_ from person person0_
기타 첨삭 검사 방법PersonController.java
....
/**
*
*
* @param name
* @param age
* @return
*/
@PostMapping(value = "/person")
public Person personAdd(@RequestParam("name") String name,
@RequestParam("age") Integer age) {
Person person = new Person();
person.setName(name);
person.setAge(age);
return personRepository.save(person);
}
/**
*
*
* @param id
* @return
*/
@GetMapping(value = "/person/{id}")
public Person personFindOne(@PathVariable("id") Integer id) {
return personRepository.findOne(id);
}
/**
*
*
* @param id
*/
@DeleteMapping(value = "/person/{id}")
public void personDelete(@PathVariable("id") Integer id) {
personRepository.delete(id);
}
/**
*
*
* @param id
* @param name
* @param age
* @return
*/
@PutMapping(value = "/person/{id}")
public Person personUpdate(@PathVariable("id") Integer id,
@RequestParam("name") String name,
@RequestParam("age") Integer age) {
Person person = new Person();
person.setId(id);
person.setName(name);
person.setAge(age);
return personRepository.save(person);
}
대응 하 는 요청 방식 은:사용자 검색:

사용자 추가

사용자 삭제(반환 값 없 음)

사용자 업데이트

그럼 나이 에 따라 알 아 보면 안 돼 요?정 답 은 아직 안 돼 요.
콘 솔 의 문 구 를 통 해 알 수 있 듯 이 sql 문 구 는 모두 id 에 따라 조회 된다.
Hibernate: select person0_.id as id1_0_0_, person0_.age as age2_0_0_, person0_.name as name3_0_0_ from person person0_ where person0_.id=?
연령 에 따라 조회 하 다Person Repository 에 findByAge(Integer age)방법 추가
public interface PersonRepository extends JpaRepository<Person,Integer> {
/**
*
* findByAge
* @param age
* @return
*/
public List<Person> findByAge(Integer age);
}
PersonController 에 해당 하 는 조회 방법 을 추가 합 니 다.
....
/**
*
* @param age
* @return
*/
@GetMapping(value = "/person/age/{age}")
public List<Person> personListByAge(@PathVariable("age") Integer age) {
return personRepository.findByAge(age);
}
입력 요청http://localhost:8081/springboot/person/age/23,조회 연령 23 인 인원
콘 솔 출력 SQL 구문:
Hibernate: select person0_.id as id1_0_, person0_.age as age2_0_, person0_.name as name3_0_ from person person0_ where person0_.age=?
사무 관리두 개의 sql 문 구 는 한 방법 에서 동시에 실 행 됩 니 다.하나의 sql 문 구 를 성공 적 으로 실행 하 는 것 을 방지 하기 위해 다른 sql 문 구 를 실행 하 는 데 실 패 했 습 니 다.사무 관 리 를 도 입 했 습 니 다.방법 에@Transactional 사무 주 해 를 추가 해 야 합 니 다.
트 랜 잭 션 은 데이터베이스 데이터 의 완전 성과 일치 성 을 확보 하 였 다.

PersonService.java
Person Controller 에서
package com.jxust.service;
import com.jxust.dao.PersonRepository;
import com.jxust.entity.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.transaction.Transactional;
/**
* Created by Peng
* Time: 2016/12/16 19:30
*/
@Service
public class PersonService {
@Autowired
private PersonRepository personRepository;
/**
*
* ,
*
*/
@Transactional
public void insertTwo(){
Person personA = new Person();
personA.setName(" ");
personA.setAge(19);
personRepository.save(personA);
System.out.print(1/0);
Person personB = new Person();
personB.setName(" ");
personB.setAge(25);
personRepository.save(personB);
}
}
테스트
...
@Autowired
private PersonService personService;
...
/**
*
*/
@PostMapping("/person/two")
public void personTwo(){
personService.insertTwo();
}
항목 을 다시 실행 하고 요청 post 방식 을 실행 합 니 다http://localhost:8081/springboot/person/two데이터 베 이 스 는 첫 번 째 데 이 터 를 추가 하지 않 았 으 며,사무 관리 가 존재 한 다 는 것 을 설명 합 니 다.
완전한 PersonController.java,PersonRepository.java 와 pom.xml
PersonController.java
package com.jxust.controller;
import com.jxust.dao.PersonRepository;
import com.jxust.entity.Person;
import com.jxust.service.PersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* Created by Peng
* Time: 2016/12/16 18:04
*/
@RestController
public class PersonController {
@Autowired
PersonRepository personRepository;
@Autowired
private PersonService personService;
/**
*
*
* @return
*/
@GetMapping(value = "/person")
private List<Person> personList() {
return personRepository.findAll();
}
/**
*
*
* @param name
* @param age
* @return
*/
@PostMapping(value = "/person")
public Person personAdd(@RequestParam("name") String name,
@RequestParam("age") Integer age) {
Person person = new Person();
person.setName(name);
person.setAge(age);
return personRepository.save(person);
}
/**
*
*
* @param id
* @return
*/
@GetMapping(value = "/person/{id}")
public Person personFindOne(@PathVariable("id") Integer id) {
return personRepository.findOne(id);
}
/**
*
*
* @param id
*/
@DeleteMapping(value = "/person/{id}")
public void personDelete(@PathVariable("id") Integer id) {
personRepository.delete(id);
}
/**
*
*
* @param id
* @param name
* @param age
* @return
*/
@PutMapping(value = "/person/{id}")
public Person personUpdate(@PathVariable("id") Integer id,
@RequestParam("name") String name,
@RequestParam("age") Integer age) {
Person person = new Person();
person.setId(id);
person.setName(name);
person.setAge(age);
return personRepository.save(person);
}
/**
*
* @param age
* @return
*/
@GetMapping(value = "/person/age/{age}")
public List<Person> personListByAge(@PathVariable("age") Integer age) {
return personRepository.findByAge(age);
}
/**
*
*/
@PostMapping("/person/two")
public void personTwo(){
personService.insertTwo();
}
}
PersonRepository.java
package com.jxust.dao;
import com.jxust.entity.Person;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
/**
* Created by Peng
* Time: 2016/12/16 18:07
*/
public interface PersonRepository extends JpaRepository<Person,Integer> {
/**
*
*
* @param age
* @return
*/
public List<Person> findByAge(Integer age);
}
pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.jxust</groupId>
<artifactId>spirngbootdemo</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>spirngbootdemo</name>
<description>Demo project for Spring Boot</description>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.4.2.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
총결산위 에서 말 한 것 은 편집장 이 여러분 에 게 소개 한 IntelliJ Idea SpringBoot 데이터 베 이 스 를 삭제 하고 사례 를 상세 하 게 설명 하 는 것 입 니 다.여러분 에 게 도움 이 되 기 를 바 랍 니 다.궁금 한 점 이 있 으 시 면 메 시 지 를 남 겨 주세요.편집장 은 신속하게 답 해 드 리 겠 습 니 다.여기 서도 저희 사이트 에 대한 여러분 의 지지 에 감 사 드 립 니 다!
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
Github Readme 파일에 임베디드 비디오를 추가하는 방법Github Readme 파일에 임베디드 비디오를 추가하는 방법 이 문서에서는 포함된 비디오를 readme 파일에 쉽게 추가하는 방법을 보여 드리고자 합니다. 아래와 같이 readme 파일에 비디오를 추가한 경우 사...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.