Git Product home page Git Product logo

woovalet's Introduction

WooCommerce Valet

Create a WordPress and WooCommerce development environment with the help of Valet.

Installation

  1. Install or update Homebrew
  2. Run the following commands
brew tap woocommerce/woovalet [email protected]:rrennick/woovalet.git
brew install woocommerce/woovalet/woovalet

Available Commands:

For now, WooCommerce Valet has just one command: woovalet.

The woovalet command will:

  1. ask for the name of your project, enter something like myproject, defaults to woocommerce
  2. ask for your MySQL/MariaDB root password (if you haven't set a password leave this blank)
  3. download WordPress into the directory ~/Sites/myproject
  4. setup the database called myproject & configure the WordPress installation
  5. create a new user with your MacOS username and password of password
  6. remove the default WordPress plugins
  7. configure myproject.localhost to run using TLS/SSL
  8. clone the WooCommerce git repository
  9. activate the WooCommerce plugin
  10. installs a number of plugins useful for development
  11. install and activate the Storefront theme
  12. install WooCommerce dummy data for test products

Notes

This script will change your Valet configuration to serve projects using .localhost, a reserved top level domain for development, as the top level domain, instead of the default .dev, which is not a reserved TLD.

The script also uses ~/Sites as a Valet project directory, as per the Valet installation instructions.

Updating WooCommerce

WooCommerce Valet installs the development version of WooCommerce from its GitHub repository.

When new versions of WooCommerce are released, its recommended you update WooCommerce via Git from the command line, rather than the WordPress Plugins administration screen. Using the latter will overwrite the development version with the publicly released version which does not have the /tests/ directory necessary for running unit tests.

woovalet's People

Contributors

rrennick avatar

Watchers

 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.