Automates backend side of a g3d integration.
- Creates necessary configuration into an existing nginx server. - Creates necessary ssl certificates for a given domain. - Injects a templated for POD and Customisable products to theme ID specified. - Creates necessary webhook for processing paid orders.
- Letsencrypt installed - Nginx server installed - Node installed - Docker installed
npm i -g g3d-backend-automation inspira-g3d yourdomain.xxx.com portnumber //Port number is optional, if not passed it will pick a random port available.
It is used in 22.214.171.124 (broadside server located in Digital Ocean)
Monitor docker containers.
docker stats --all
The barcode of the product need to match the id of the product in the CPP.
All G3D products need to use a custom product template, the ones with preview will use the template product.customise and the ones without preview will use product.customise-no-preview and the pod products will use product.pod.liquid
The product has to pass the guid id’s through tags, these will have the following format: guid_xxxxx-xxxxx or guid_xxxxx
NOTE: Integration will handle either an integration with multiple guids or an integration a simple guid. (More documentation)[https://docs.google.com/document/d/1hChKHjjQ4P-WzLdOsemNjrI9OvE7vxBmeX_XXq_DgHc/edit#]