2017 © Pedro Peláez
 

library rest-api-console2

Fork of Automattic/rest-api-console2, 'a better REST console'.

image

jeffstieler/rest-api-console2

Fork of Automattic/rest-api-console2, 'a better REST console'.

  • Sunday, May 3, 2015
  • by jeffstieler
  • Repository
  • 0 Watchers
  • 0 Stars
  • 12 Installations
  • JavaScript
  • 1 Dependents
  • 0 Suggesters
  • 9 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Console2

A better REST console. See it in action., (*1)

Development

Hacking requires node.js, install node.js for your system. (e.g. brew install node)., (*2)

To get up and running:, (*3)

  1. Clone the repository git clone https://github.com/beaucollins/wpcom-console2.git, (*4)

  2. Install dependencies npm install, (*5)

  3. Run the dev server npm start, (*6)

Visit http://localhost:4000 in your browser., (*7)

Tip: You can change the port using the PORT environment variable:, (*8)

sudo PORT=80 npm start

WordPress.com's App settings do not allow CORS URI's with ports in them., (*9)

Configure

Visit WordPress.com Developer Resources and create an application., (*10)

Copy config.sample.json to config.json and use your WordPress.com App ID and Redirect URI for the values., (*11)

You will also need to add your host to the CORS whitelist in the Application's settings., (*12)

Building

To create a static package you can use anywhere (e.g. Github pages):, (*13)

npm run build

The static site is located in build/dist/wpcom-console/public along with a tarball., (*14)

License

All source code licensed under the MIT open source license., (*15)

The Versions

03/05 2015

dev-master

9999999-dev

Fork of Automattic/rest-api-console2, 'a better REST console'.

  Sources   Download

GPL

by Jeff Stieler