Git Product home page Git Product logo

woocommerce-software-license-manager's Introduction

WooCommerce Software License Manager

Build Status Join the chat at https://gitter.im/kilbot/WooCommerce-Software-License-Manager

A license management solution for selling software with WooCommerce

Developing locally

WooCommerce Software License Manager is a WordPress plugin which requires WordPress and WooCommerce.

To develop the plugin locally you will first have to set up a local server with WordPress and WooCommerce installed. It is recommended that you first follow the installation steps at Varying Vagrant Vagrants (VVV), this will give you a local virtual server environment with everything you need to develop WordPress plugins. You do not have to use VVV, but if you are capable of managing your own local server you probably don't need these instructions.

Once you have successfully installed VVV, step through the following commands to install WooCommerce:

# start the virtual machine
$ vagrant up

# access the server
$ vagrant ssh

# move to the stable WordPress directory
$ cd /srv/www/wordpress-default/

# install and activate WooCommerce
$ wp plugin install woocommerce --activate

# install and activate WordPress importer
$ wp plugin install wordpress-importer --activate

# import dummy data into WooCommerce
$ wp import wp-content/plugins/woocommerce/dummy-data/dummy-data.xml --authors=create

You now should have a WordPress install available at http://local.wordpress.dev with a dummy WooCommerce store at http://local.wordpress.dev/shop. Now it's time to clone the WooCommerce Software License Manager project and start developing!

# make sure you're in the plugins folder
$ cd wp-content/plugins/

# clone and activate the project
$ git clone https://github.com/kilbot/WooCommerce-Software-License-Manager.git woocommerce-software-license-manager
$ wp plugin activate woocommerce-software-license-manager

# move into the project folder and install any dependencies
$ cd woocommerce-software-license-manager
$ npm install
$ composer install

# run development tasks (use --force if you are fixing a test)
$ grunt dev

Requirements

VVV comes with all the requirements for developing this plugin, this is why it is the recommended development environment for beginners. If you already have a local server please ensure it has the following requirements to successfully build and test the project.

Prerequisite How to check How to install
PHP 5.5+ php --version php.net
PHPUnit phpunit --version phpunit.de
composer composer --version getcomposer.org
node node --version nodejs.org
grunt grunt --version npm install -g grunt-cli

woocommerce-software-license-manager's People

Contributors

kilbot avatar vdrnn avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.