g3d-backend-automation v3.0.6
G3D BACKEND AUTOMATION
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.
PRE REQUIREMENTS
- Letsencrypt installed
- Nginx server installed
- Node installed
- Docker installed
How to use it
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.
Currently used
It is used in 139.59.175.59 (broadside server located in Digital Ocean)
USEFUL COMMANDS
Monitor docker containers.
docker stats --all
SETUP A PRODUCT
Step 1: Set the product ID from CPP as the product barcode in Shopify
The barcode of the product need to match the id of the product in the CPP.
Step 2: Set uo the product template
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
Step 3: Set guids as product tag
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#
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago