Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Commit

Permalink
remove mock server
Browse files Browse the repository at this point in the history
  • Loading branch information
kilbot committed Sep 19, 2018
1 parent 0391970 commit 6349fa1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .docker
3 changes: 0 additions & 3 deletions .gitmodules
Expand Up @@ -4,6 +4,3 @@
[submodule "client"]
path = client
url = https://github.com/kilbot/woocommerce-pos-client.git
[submodule "server"]
path = server
url = https://github.com/kilbot/woocommerce-pos-mock-api.git
26 changes: 2 additions & 24 deletions README.md
Expand Up @@ -15,16 +15,6 @@ Development repository for WooCommerce POS - the Point of Sale plugin for [WooCo
<img src="http://wcpos.com/wp-content/uploads/2015/05/pos-sale-lg.gif" alt="Screenshot"/>
</p>

## Browser Compatibility

<p align="center">
<img src="http://wcpos.com/wp-content/uploads/2015/06/compatibility-chart.jpg" alt="Browser Compatibility"/>
</p>

<p align="center">
[![Selenium Test Status](https://saucelabs.com/browser-matrix/wcpos.svg)](https://saucelabs.com/u/wcpos)
</p>

## Report a bug

Please report all bugs [here](https://github.com/kilbot/WooCommerce-POS/issues) or contact support via [support@wcpos.com](mailto:support@wcpos.com)
Expand All @@ -35,7 +25,7 @@ If you would like to help translate WooCommerce POS into your language please ch

## Developing locally

WooCommerce POS is a WordPress plugin which requires [WordPress](http://wordpress.org) 3.8+ and [WooCommerce](wordpress.org/plugins/woocommerce) 2.2+.
WooCommerce POS is a WordPress plugin which requires [WordPress](http://wordpress.org) 3.8+ and [WooCommerce](wordpress.org/plugins/woocommerce) 3.2.6+.

This project includes configuration files for creating a consistent development environment for WooCommerce plugins.

Expand Down Expand Up @@ -65,24 +55,12 @@ cd woocommerce-pos && npm run build
Now, get a coffee :coffee:

The first build will take some time as it prepares the virtual server.
While waiting for the first build to complete, add the following domains to your `/etc/hosts` file.

```sh
# /etc/hosts
127.0.0.1 php54.local
127.0.0.1 php55.local
127.0.0.1 php56.local
127.0.0.1 php70.local
```

Once the build is complete you can start the virtual server using:

```
npm run start
```

Open your browser and navigate to `http://php56.local`, you should see a WordPress + WooCommerce + WooCommerce POS site running on PHP 5.6.x.
Login with `admin/password` to access the WordPress admin.
Open your browser and navigate to http://localhost and use `admin/password` to access the WordPress admin.

### Developing and Deploying

Expand Down
12 changes: 6 additions & 6 deletions package.json
Expand Up @@ -25,12 +25,12 @@
"build": "docker-compose -f .docker/docker-compose.yml build",
"start": "docker-compose -f .docker/docker-compose.yml up -d",
"stop": "docker-compose -f .docker/docker-compose.yml kill",
"unit-test:php-5.6": "docker exec woocommerce-pos-php-5.6 phpunit -c wp-content/plugins/woocommerce-pos/tests/unit/php/phpunit.xml",
"unit-test:php-7.0": "docker exec woocommerce-pos-php-7.0 phpunit -c wp-content/plugins/woocommerce-pos/tests/unit/php/phpunit.xml",
"unit-test:php-7.2": "docker exec woocommerce-pos-php-7.2 phpunit -c wp-content/plugins/woocommerce-pos/tests/unit/php/phpunit.xml",
"integration-test:php-5.6": "docker exec woocommerce-pos-php-5.6 phpunit -c wp-content/plugins/woocommerce-pos/tests/integration/php/phpunit.xml",
"integration-test:php-7.0": "docker exec woocommerce-pos-php-7.0 phpunit -c wp-content/plugins/woocommerce-pos/tests/integration/php/phpunit.xml",
"integration-test:php-7.2": "docker exec woocommerce-pos-php-7.2 phpunit -c wp-content/plugins/woocommerce-pos/tests/integration/php/phpunit.xml"
"unit-test:php-5.6": "docker exec woocommerce-pos-php-5.6 phpunit -c plugins/woocommerce-pos/tests/unit/php/phpunit.xml",
"unit-test:php-7.0": "docker exec woocommerce-pos-php-7.0 phpunit -c plugins/woocommerce-pos/tests/unit/php/phpunit.xml",
"unit-test:php-7.2": "docker exec woocommerce-pos-php-7.2 phpunit -c plugins/woocommerce-pos/tests/unit/php/phpunit.xml",
"integration-test:php-5.6": "docker exec woocommerce-pos-php-5.6 phpunit -c plugins/woocommerce-pos/tests/integration/php/phpunit.xml",
"integration-test:php-7.0": "docker exec woocommerce-pos-php-7.0 phpunit -c plugins/woocommerce-pos/tests/integration/php/phpunit.xml",
"integration-test:php-7.2": "docker exec woocommerce-pos-php-7.2 phpunit -c plugins/woocommerce-pos/tests/integration/php/phpunit.xml"
},
"dependencies": {},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion server
Submodule server deleted from 9d33cd

0 comments on commit 6349fa1

Please sign in to comment.