From 6238e8af30953c950b011e805cd0af545716eb08 Mon Sep 17 00:00:00 2001 From: Nisar Hassan Naqvi Date: Wed, 17 Feb 2021 11:28:00 +0500 Subject: [PATCH] move the mention of gitpod to the main readme + modify gitpod description. (#2637) Co-authored-by: Jay --- README.md | 8 ++++++++ examples/README.md | 6 +----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7ec0dd0836..06c5b32520 100755 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![npm version](https://img.shields.io/npm/v/axios.svg?style=flat-square)](https://www.npmjs.org/package/axios) [![CDNJS](https://img.shields.io/cdnjs/v/axios.svg?style=flat-square)](https://cdnjs.com/libraries/axios) [![build status](https://img.shields.io/travis/axios/axios/master.svg?style=flat-square)](https://travis-ci.org/axios/axios) +[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/axios/axios) [![code coverage](https://img.shields.io/coveralls/mzabriskie/axios.svg?style=flat-square)](https://coveralls.io/r/mzabriskie/axios) [![install size](https://packagephobia.now.sh/badge?p=axios)](https://packagephobia.now.sh/result?p=axios) [![npm downloads](https://img.shields.io/npm/dm/axios.svg?style=flat-square)](http://npm-stat.com/charts.html?package=axios) @@ -787,6 +788,13 @@ import axios from 'axios'; axios.get('/user?ID=12345'); ``` +## Online one-click setup + +You can use Gitpod an online IDE(which is free for Open Source) for contributing or running the examples online. + +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/axios/axios/blob/master/examples/server.js) + + ## Resources * [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md) diff --git a/examples/README.md b/examples/README.md index c843f6aba1..b75c60b929 100644 --- a/examples/README.md +++ b/examples/README.md @@ -7,8 +7,4 @@ To run the examples: 3. `npm install` 4. `grunt build` 5. `npm run examples` -6. [http://localhost:3000](http://localhost:3000) - -Or use Gitpod, a free dev environment for GitHub: - -[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/axios/axios/blob/master/examples/server.js) +6. [http://localhost:3000](http://localhost:3000) \ No newline at end of file