diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000000000000000000000000000000000000..ba727aa86468e5283e171db84a7b75a28bfcaa49 --- /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 73e518b64305057e15664c359df40ced7cc07d2c..21268cc68e2c4695536357999c24702eabe92fc1 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