This application contains scripts to synchronize product data between different systems.
- Docker
-
Build the Docker image:
docker build -t product-sync-app .
-
Run the Docker container:
docker run product-sync-app
This will execute both product-sync-md365.php
and product-sync-md2016.php
scripts.
api/
: Contains the main synchronization scripts and JSON data files.backup/
: Stores backups of the products JSON file.Dockerfile
: Defines the Docker image for the application.products-admin.php
: Admin interface for products (not used in Docker setup).
This Docker setup is designed to run the sync scripts directly. If you need to run the products-admin.php
file, you'll need to set up a web server environment separately.