Git Product home page Git Product logo

quickcommerce's Introduction

Introduction

The purpose of this project is to help you get a minimalistic but functioning woocommerce website up and running with default settings really quickly. If you follow the installation process correctly, you should have a wordpress base running woocommerce with twentythirteen responsive theme. Quickcommerce can be useful if you want to showcase the power of woocommerce, test for plugins compatibility before deploying to your woocommerce production site, debug woocommerce functionality with minimal sets of plugins.

Being able to spawn off a clean slate of woocommerce installation quickly is convenient. If you intend to build a new woocommerce site, you can also use this db and settings as a base.

Pre-requisite

Installation

  • clone the dir from github
// To cut down the install time, I am assuming you will use your installation dir as /home/httpd.
cd /home/httpd
[email protected]:bernardpeh/QuickCommerce.git 
cd QuickCommerce
// this will pull in the bdd test and woocommerce plugin
git submodule update --init
// For quick setup, use this as your httpd.conf
<VirtualHost *:80>
    ServerName quickcommerce.dev
    DocumentRoot /home/httpd/QuickCommerce/
    ServerAdmin root@localhost
    ErrorLog /var/log/apache2/quickcommerce-error_log
    CustomLog /var/log/apache2/quickcommerce-access_log combined
    <Directory "/home/httpd/QuickCommerce">
      AddType text/html .html
      AddHandler server-parsed .html
      Options Includes FollowSymLinks
      AllowOverride All
    </Directory>
    DirectoryIndex index.html index.htm index.shtml index.php index.php4 index.php3 index.cgi
</VirtualHost>
  • Edit configuration parameters in the install script and run it. see /home/httpd/setup/install.sh
cd /home/httpd/QuickCommerce/setup/
// edit the params and run it
./install.sh

Test Users

  • Admin user

user: admin

pass: 12345

  • Customer

user: [email protected]

pass: 12345

Test Coupon

use coupon code 'test' upon checkout to give 100% cart discount.

Browser Testing (Optional)

I wrote some test cases to test the basic functionality of woocommerce. To run the test, install phpunit and firefox. Then go to path_to_your_wordpress_install/bdd and run

./runtest basic_test

see your firefox doing all the tricks. After all the test, see the result.txt for a summary of the test.

quickcommerce's People

Contributors

bernardpeh 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.