Skip to content

Commit

Permalink
Merge pull request #3 from getshogun/INT-1021-composer-package
Browse files Browse the repository at this point in the history
INT-1021: Introduce composer
  • Loading branch information
hugocore authored Jun 23, 2022
2 parents 7117fcb + b753fb7 commit 83d0afe
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 4 deletions.
26 changes: 22 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,33 @@
# adobe-commerce-cloud-checkout-extension
Adobe Commerce Cloud extension to checkout orders from Shogun storefronts.

## Usage
## Compatibility

Clone this repo into your Magento's instance `src/app/code/Shogun/` and run:
Magento 2.4 or higher.

## Install

### Composer

1. Install the extension with composer:

```bash
bin/magento module:enable Shogun_FrontendCheckout --clear-static-content
composer require shogun/frontend-checkout
```

bin/magento setup:upgrade
2. Run the following command on your Magento instance:

```
php bin/magento setup:upgrade
```

### Manual

Clone this repo into your Magento's instance `src/app/code/Shogun/FrontendCheckout` and run:

```bash
bin/magento module:enable Shogun_FrontendCheckout --clear-static-content
bin/magento setup:upgrade
bin/magento cache:flush
```

Expand Down
18 changes: 18 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "shogun/frontend-checkout",
"description": "Shogun's Frontend checkout extension for Adobe Commerce Cloud.",
"license": "BSD-3-Clause",
"type": "magento2-module",
"authors": [],
"require": {
"php": ">=7.3"
},
"autoload": {
"files": [
"registration.php"
],
"psr-4": {
"Shogun\\FrontendCheckout\\": ""
}
}
}

0 comments on commit 83d0afe

Please sign in to comment.