Commit 820b6391 authored by 陈帅's avatar 陈帅

doc: fix #4370,edit readme for v4

parent a9b19e99
...@@ -77,32 +77,18 @@ Nous avons besoin de votre aide: https://github.com/ant-design/ant-design-pro/is ...@@ -77,32 +77,18 @@ Nous avons besoin de votre aide: https://github.com/ant-design/ant-design-pro/is
### Utiliser bash ### Utiliser bash
```bash ```bash
$ git clone https://github.com/ant-design/ant-design-pro.git --depth=1 -b v2 $ yarn create umi # or npm create umi
$ cd ant-design-pro
$ npm install
$ npm start # visiter http://localhost:8000
```
### Utilisation par docker
```bash
# aperçu
$ docker pull antdesign/ant-design-pro
$ docker run -p 80:80 antdesign/ant-design-pro
# ouvrir http://localhost
# développement # Choose ant-design-pro:
$ npm run docker:dev Select the boilerplate type (Use arrow keys)
❯ ant-design-pro - Create project with an layout-only ant-design-pro boilerplate, use together with umi block.
app - Create project with a simple boilerplate, support typescript.
block - Create a umi block.
library - Create a library with umi.
plugin - Create a umi plugin.
# construction $ npm install
$ npm run docker:build $ npm start # visit http://localhost:8000
# développement en production
$ npm run docker-prod:dev
# construction en production
$ npm run docker-prod:build
``` ```
### Utilisation de Gitpod ### Utilisation de Gitpod
......
...@@ -77,32 +77,18 @@ ...@@ -77,32 +77,18 @@
### bash を使う方法 ### bash を使う方法
```bash ```bash
$ git clone https://github.com/ant-design/ant-design-pro.git --depth=1 $ yarn create umi # or npm create umi
$ cd ant-design-pro
$ npm install
$ npm start # http://localhost:8000 を開く
```
### Docker を使う方法
```bash
# プレビュー
$ docker pull antdesign/ant-design-pro
$ docker run -p 80:80 antdesign/ant-design-pro
# http://localhost を開く
# dev # Choose ant-design-pro:
$ npm run docker:dev Select the boilerplate type (Use arrow keys)
❯ ant-design-pro - Create project with an layout-only ant-design-pro boilerplate, use together with umi block.
app - Create project with a simple boilerplate, support typescript.
block - Create a umi block.
library - Create a library with umi.
plugin - Create a umi plugin.
# build $ npm install
$ npm run docker:build $ npm start # http://localhost:8000 を開く
# production dev
$ npm run docker-prod:dev
# production build
$ npm run docker-prod:build
``` ```
### Gitpod を使う方法 ### Gitpod を使う方法
......
...@@ -79,32 +79,18 @@ We need your help: https://github.com/ant-design/ant-design-pro/issues/120 ...@@ -79,32 +79,18 @@ We need your help: https://github.com/ant-design/ant-design-pro/issues/120
### Use bash ### Use bash
```bash ```bash
$ git clone https://github.com/ant-design/ant-design-pro.git --depth=1 -b v2 $ yarn create umi # or npm create umi
$ cd ant-design-pro
$ npm install
$ npm start # visit http://localhost:8000
```
### Use by docker
```bash
# preview
$ docker pull antdesign/ant-design-pro
$ docker run -p 80:80 antdesign/ant-design-pro
# open http://localhost
# dev # Choose ant-design-pro:
$ npm run docker:dev Select the boilerplate type (Use arrow keys)
❯ ant-design-pro - Create project with an layout-only ant-design-pro boilerplate, use together with umi block.
app - Create project with a simple boilerplate, support typescript.
block - Create a umi block.
library - Create a library with umi.
plugin - Create a umi plugin.
# build $ npm install
$ npm run docker:build $ npm start # visit http://localhost:8000
# production dev
$ npm run docker-prod:dev
# production build
$ npm run docker-prod:build
``` ```
### Use Gitpod ### Use Gitpod
......
...@@ -71,8 +71,16 @@ UI-решение "из коробки" для корпоративных при ...@@ -71,8 +71,16 @@ UI-решение "из коробки" для корпоративных при
## Использование ## Использование
```bash ```bash
$ git clone https://github.com/ant-design/ant-design-pro.git --depth=1 -b v2 $ yarn create umi # or npm create umi
$ cd ant-design-pro
# Choose ant-design-pro:
Select the boilerplate type (Use arrow keys)
❯ ant-design-pro - Create project with an layout-only ant-design-pro boilerplate, use together with umi block.
app - Create project with a simple boilerplate, support typescript.
block - Create a umi block.
library - Create a library with umi.
plugin - Create a umi plugin.
$ npm install $ npm install
$ npm start # visit http://localhost:8000 $ npm start # visit http://localhost:8000
``` ```
......
...@@ -74,35 +74,19 @@ React ile kurumsal uygulamalar için taslak olarak geliştirilmiş kullanıma ha ...@@ -74,35 +74,19 @@ React ile kurumsal uygulamalar için taslak olarak geliştirilmiş kullanıma ha
## Kullanım ## Kullanım
### bash ile kullanım
```bash
$ git clone https://github.com/ant-design/ant-design-pro.git --depth=1 -b v2
$ cd ant-design-pro
$ npm install
$ npm start # visit http://localhost:8000
```
### Docker ile kullanım
```bash ```bash
# preview $ yarn create umi # or npm create umi
$ docker pull chenshuai2144/ant-design-pro
$ docker run -p 80:80 chenshuai2144/ant-design-pro
# open http://localhost
# dev
$ npm run docker:dev
# build
$ npm run docker:build
# Choose ant-design-pro:
Select the boilerplate type (Use arrow keys)
❯ ant-design-pro - Create project with an layout-only ant-design-pro boilerplate, use together with umi block.
app - Create project with a simple boilerplate, support typescript.
block - Create a umi block.
library - Create a library with umi.
plugin - Create a umi plugin.
# production dev $ npm install
$ npm run docker-prod:dev $ npm start # visit http://localhost:8000
# production build
$ npm run docker-prod:build
``` ```
Daha fazla talimat için [dokümantasyon](http://pro.ant.design/docs/getting-started) sayfasına göz atın. Daha fazla talimat için [dokümantasyon](http://pro.ant.design/docs/getting-started) sayfasına göz atın.
......
...@@ -72,35 +72,19 @@ ...@@ -72,35 +72,19 @@
## 使用 ## 使用
### 使用命令行
```bash
$ git clone https://github.com/ant-design/ant-design-pro.git --depth=1 -b v2
$ cd ant-design-pro
$ npm install
$ npm start # 访问 http://localhost:8000
```
### 使用 docker
```bash ```bash
# preview $ yarn create umi # or npm create umi
$ docker pull antdesign/ant-design-pro
$ docker run -p 80:80 antdesign/ant-design-pro
# open http://localhost
# dev
$ npm run docker:dev
# build
$ npm run docker:build
# Choose ant-design-pro:
Select the boilerplate type (Use arrow keys)
❯ ant-design-pro - Create project with an layout-only ant-design-pro boilerplate, use together with umi block.
app - Create project with a simple boilerplate, support typescript.
block - Create a umi block.
library - Create a library with umi.
plugin - Create a umi plugin.
# production dev $ npm install
$ npm run docker-prod:dev $ npm start # visit http://localhost:8000
// production build
$ npm run docker-prod:build
``` ```
更多信息请参考 [使用文档](http://pro.ant.design/docs/getting-started) 更多信息请参考 [使用文档](http://pro.ant.design/docs/getting-started)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment