Skip to content

Instantly share code, notes, and snippets.

@lokothodida
Last active March 26, 2016 10:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lokothodida/c538a75cf444414ee728 to your computer and use it in GitHub Desktop.
Save lokothodida/c538a75cf444414ee728 to your computer and use it in GitHub Desktop.
GetSimple Tutorial: Setting up a Plugin Development Environment

GetSimple Tutorial: Setting up a Plugin Development Environment

These are the steps I take for setting up an environment for developing GetSimple plugins. It allows me to Keep my individual plugin's repository separate from the plugins folder.

  1. Install GetSimple to your desired root directory (for now we will refer to it as root/).

  2. Create your plugin's working directory/clone your repository to the root/ directory.

  3. Symbollically the plugin's registration file and assets folders to the plugins directory:

    ln -s root/your-repo/your_plugin root/plugins/your_plugin
    ln -s root/your-repo/your_plugin.php root/plugins/your_plugin.php
    
  4. Enable your plugin in the GetSimple installation.

  5. Work on your plugin from root/your-repository.

This has been tested on the Cloud 9 Online IDE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment