Skip to content

james-allan/subscriptions-rest-api-docs-1

 
 

Repository files navigation

WooCommerce Subscriptions REST API Docs

Repository for the documentation of the WooCommerce Subscriptions REST API.

This project is based on WooCommerce REST API Docs and Slate.

Testing and deploy changes

The simplest option to testing changes on this repository would be to fork your own copy and then run the deploy script to get it up on your own GH page (i.e. https://your_github_username.github.io/subscriptions-rest-api-docs)

Assuming you're running the most up-to-date OSX version.

  1. Install rvm: https://rvm.io/rvm/install - using the osx defaults ruby version will not work, we need to use a specific version of ruby for deploying to work, hence rvm is used to manage ruby versions and gems
  2. Install ruby version 2.2.3: rvm install ruby-2.2.3 - after many attempts to get this working, 2.2.3 was the only version that has shown success
  3. Use that version of ruby: rvm use ruby-2.2.3
  4. cd into your forked repository
  5. Install bundle: gem install bundler
  6. run bundle install - shouldn't see any errors when doing this
  7. run ./deploy.sh
  8. Check the changes at https://your_github_username.github.io/subscriptions-rest-api-docs

Before running deploy.sh

Before you run the deploy script, keep in mind that the script will default to deploying to the remote repo set to origin. To get around this, please set your remote origin to your forked copy and prospress as the Prospress repository: git remote set-url origin git@github.com:USERNAME/subscriptions-rest-api-docs.git

About

WooCommerce Subscriptions REST API Documentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.4%
  • SCSS 12.6%
  • CSS 4.7%
  • Shell 3.9%
  • Ruby 2.7%
  • HTML 2.5%
  • Dockerfile 0.2%