# eshipper-commerce
This repo contains plugin for EShipper Commerce - A WordPress-WooCommerce Plugin for Shipping by EShipper.

## Dev environment setup

### Pre-requisites
* Install XAMPP OR MAMPP OR LAMPP OR WAMPP which can be downloaded [here](https://www.apachefriends.org/download.html)
* Wordpress installed [steps](https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lamp-on-ubuntu-18-04)
* Connect wordpress with correct database credentials and database name
* Install WooCommerce plugin in wordpress by using the following steps:
    1. Login into wordpress admin panel
    2. Go to Plugins->Add New->search for WooCommerce and Install that
    3. Setup store details in WooCommerce->Home


### Running the plugin on local

* Clone the repo on your local machine
* Install a new wordpress (Example - wordpress_site)
* Connect wordpress with correct database credentials and database name
* Install WooCommerce plugin in wordpress by using the following steps:
    1. Login into wordpress admin panel
    2. Go to Plugins->Add New->search for WooCommerce and Install that
    3. Setup store details in WooCommerce->Home
* Add the cloned repo in wordpress codebase with the following steps:
    1. Put a copy of cloned repo in plugins folder(wordpress->wp-content->plugins)
    2. Another way
        * Create a zip file of cloned repo
        * Go to wordpress admin panel->plugins->Add New
        * Here click on Upload Plugin and select the zipped file
        * click on Install Now
* Go to Plugins->Installed Plugins
* Activate eShipper plugin there
