From 820b63912df1007720d377aefe09358dcf53fb3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Tue, 4 Jun 2019 19:59:03 +0800 Subject: [PATCH] doc: fix #4370,edit readme for v4 --- README.fr-FR.md | 34 ++++++++++------------------------ README.ja-JP.md | 34 ++++++++++------------------------ README.md | 34 ++++++++++------------------------ README.ru-RU.md | 12 ++++++++++-- README.tr-TR.md | 36 ++++++++++-------------------------- README.zh-CN.md | 36 ++++++++++-------------------------- 6 files changed, 60 insertions(+), 126 deletions(-) diff --git a/README.fr-FR.md b/README.fr-FR.md index a228c54e..4dbd6a9f 100644 --- a/README.fr-FR.md +++ b/README.fr-FR.md @@ -77,32 +77,18 @@ Nous avons besoin de votre aide: https://github.com/ant-design/ant-design-pro/is ### Utiliser bash ```bash -$ git clone https://github.com/ant-design/ant-design-pro.git --depth=1 -b v2 -$ 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 +$ yarn create umi # or npm create umi -# développement -$ npm run docker:dev +# 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. -# construction -$ npm run docker:build - - -# développement en production -$ npm run docker-prod:dev - -# construction en production -$ npm run docker-prod:build +$ npm install +$ npm start # visit http://localhost:8000 ``` ### Utilisation de Gitpod diff --git a/README.ja-JP.md b/README.ja-JP.md index e02077d7..451d8149 100644 --- a/README.ja-JP.md +++ b/README.ja-JP.md @@ -77,32 +77,18 @@ ### bash を使う方法 ```bash -$ git clone https://github.com/ant-design/ant-design-pro.git --depth=1 -$ 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 を開く +$ yarn create umi # or npm create umi -# dev -$ npm run docker:dev +# 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. -# build -$ npm run docker:build - - -# production dev -$ npm run docker-prod:dev - -# production build -$ npm run docker-prod:build +$ npm install +$ npm start # http://localhost:8000 を開く ``` ### Gitpod を使う方法 diff --git a/README.md b/README.md index 65625f8d..3c144825 100644 --- a/README.md +++ b/README.md @@ -79,32 +79,18 @@ We need your help: https://github.com/ant-design/ant-design-pro/issues/120 ### Use bash ```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 -``` - -### Use by docker - -```bash -# preview -$ docker pull antdesign/ant-design-pro -$ docker run -p 80:80 antdesign/ant-design-pro -# open http://localhost +$ yarn create umi # or npm create umi -# dev -$ npm run docker:dev +# 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. -# build -$ npm run docker:build - - -# production dev -$ npm run docker-prod:dev - -# production build -$ npm run docker-prod:build +$ npm install +$ npm start # visit http://localhost:8000 ``` ### Use Gitpod diff --git a/README.ru-RU.md b/README.ru-RU.md index 3c084cb5..1395ccbf 100644 --- a/README.ru-RU.md +++ b/README.ru-RU.md @@ -71,8 +71,16 @@ UI-решение "из коробки" для корпоративных при ## Использование ```bash -$ git clone https://github.com/ant-design/ant-design-pro.git --depth=1 -b v2 -$ cd ant-design-pro +$ yarn create umi # or npm create umi + +# 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 start # visit http://localhost:8000 ``` diff --git a/README.tr-TR.md b/README.tr-TR.md index ec2b6632..939be9f8 100644 --- a/README.tr-TR.md +++ b/README.tr-TR.md @@ -74,35 +74,19 @@ React ile kurumsal uygulamalar için taslak olarak geliştirilmiş kullanıma ha ## 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 -# preview -$ 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 +$ yarn create umi # or npm create umi +# 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 run docker-prod:dev - -# production build -$ npm run docker-prod:build +$ npm install +$ npm start # visit http://localhost:8000 ``` Daha fazla talimat için [dokümantasyon](http://pro.ant.design/docs/getting-started) sayfasına göz atın. diff --git a/README.zh-CN.md b/README.zh-CN.md index d66d7d03..f98da668 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -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 -# preview -$ 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 +$ yarn create umi # or npm create umi +# 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 run docker-prod:dev - -// production build -$ npm run docker-prod:build +$ npm install +$ npm start # visit http://localhost:8000 ``` 更多信息请参考 [使用文档](http://pro.ant.design/docs/getting-started)。 -- GitLab