From 7afe65ce3efd4f58d407a99eef26524788464a0a Mon Sep 17 00:00:00 2001 From: Sven Efftinge Date: Fri, 11 Jan 2019 10:57:09 +0100 Subject: [PATCH] Added gitpod config (#3349) --- .gitpod.yml | 6 ++++++ README.md | 16 +++++++++++----- 2 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 .gitpod.yml diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 00000000..ba727aa8 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,6 @@ +ports: +- port: 8000 + onOpen: open-preview +tasks: +- init: npm install + command: npm start diff --git a/README.md b/README.md index 73e518b6..21268cc6 100644 --- a/README.md +++ b/README.md @@ -93,25 +93,31 @@ $ npm start # visit http://localhost:8000 ### Use by docker ```bash -# preview +# preview $ docker pull antdesign/ant-design-pro $ docker run -p 80:80 antdesign/ant-design-pro # open http://localhost -# dev +# dev $ npm run docker:dev -# build +# build $ npm run docker:build -# production dev +# production dev $ npm run docker-prod:dev -# production build +# production build $ npm run docker-prod:build ``` +### Use Gitpod + +Open the project in Gitpod (free online dev environment for GitHub) and start coding immediately. + +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/ant-design/ant-design-pro) + More instructions at [documentation](http://pro.ant.design/docs/getting-started). ## Browsers support -- GitLab