Skip to content

retreatguru/rbg-connect

Repository files navigation

Installing dev environment

  1. Make sure docker is installed and configured
  2. Checkout the branch
  3. Run ./dev up
  4. Add the following to your /etc/hosts file: 127.0.0.1 rgconnect.test
  5. Verify the site is accessible at http://rgconnect.test
  6. Configure the plugin in http://rgconnect.test/wp-admin accordingly (admin/admin)
  7. Ensure tests pass by running ./dev test tests

Pre-Deployment Checklist

  1. Update the version number in programs-remote-listings/rs-connect.php on line 6
  2. Update the $plugin_version near the top of programs-remote-listings/rs-connect.php
  3. Edit the changelog in programs-remote-listings/readme.txt with the same version number
  4. Commit.
  5. Merge commit into master.
  6. Ensure tests are green at https://circleci.com/gh/retreatguru/rbg-connect/tree/master

Actual Deployment

To deploy the plugin directly to the wordpress repository you will need a wordpress username and password and be an author of the plugin. From Docker shell:

$ ./dev shell
$ cd /var/www/programs-remote-listings
$ bash ./deploy.sh

Then provide your wordpress username, password and a commit message.

*Note: If you get the error message "Access to '/!svn/me' forbidden" just use deryk's credentials which are in 1Password

In about a minute you should see the new version live on the wordpress repository: https://en-ca.wordpress.org/plugins/retreat-booking-guru-connect/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published