Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update on docker #18

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Update README.md
devopsoptimbytes authored Oct 13, 2023
commit 650dcf89f3bb3f45e0a2348b025ca86b54ce7a47
43 changes: 23 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,35 @@
Magento Extension for Dropday
===============

Dropday.io is a service to automate your webshop orders. With Dropday.io you can forward orders automatically to your suppliers via different methods, for example by placing a XML file on FTP, sending an email or letting a Dropday employee place a manual order on another webshop. This solution is ideal for dropshipping, fulfillment or other types or supplier automation.
**Setting Up Your Magento Environment
**
**Starting Services:
**
Initiate your Docker containers by executing the following command:

This extension will connect to the API and forward your orders to Dropday.io. To connect to the API make an account at [Dropday.io](https://dropday.io/register).
docker-compose up -d

## How to install the extension?
Verifying Container Names:

### 1. Installion via Composer
After initiating the containers, it's recommended to confirm their names. You can list the active containers using:

```
composer require dropday-io/module-orderautomation
```
docker ps

### 2. Enable
Admin User Setup:

```
php bin/magento module:enable Dropday_OrderAutomation
php bin/magento setup:upgrade
php bin/magento cache:clean
```
Before you proceed, ensure that you modify the container name in the script to match the actual name of your Magento container. Once done, execute the password setup
script:

### 3. Configure
sh password.sh

Stores → Configuration → Dropday → Order Automation
Accessing the Admin Dashboard:

- General Settings
- Enabled - Enable Order Automation
- Test Mode - Enable Test mode
- Account ID - Account ID from Dropday Dashboard
- API Key - Secret Key be provided by Dropday Dashboard
You can access the Magento admin dashboard by navigating to:

localhost/admin

Installing Dropday Extension:

To add the Dropday extension to your Magento setup, run the following script:

sh install-dropday.sh