Plugin Dashboard Repo - Local Dev Setup & Research:
Setup environment to develop - environment specifics needed for the repo to work.
RabbitMQ : Add settings.
Docker-Compose file:
Code Block rabbitmq: image: rabbitmq:3.8 container_name: plugindashboard_rabbitmq ports: - "5672:5672" - "15672:15672" healthcheck: test: ["CMD", "rabbitmqctl", "status"] interval: 30s restart: unless-stopped volumes: - ../shared-data/rabbitmq:/var/lib/rabbitmq
Docker-Compose and Parameters file need to have the App’s Client Id & Client Secret added.
Both are Hex value strings.Docker-Compose file:
Code Block NETCOMM_API_KEY: 2de2b028c0c30db8de8e44c5bacfd5ed NETCOMM_API_SECRET: c3c5932fa8aeb97b80eddf132bc11abf
Parameters file:
Code Block netcomm_api_key: '%env(NETCOMM_API_KEY)%' netcomm_api_secret: '%env(NETCOMM_API_SECRET)%'
So based upon our tech stack it seems like we actually just use the PHP library / dependancy to intergrate the app with Shopify.
Composerr.json →
"phpclassic/php-shopify": "~1.0",
https://github.com/phpclassic/php-shopify.git