Add new product to an existing distribution
- to
Ways
Steps to add a new product to a distribution
dir structure:
be/
-- data/ (The latest json data for the FE)
--- distributions/
--- products/
--- software-catalog.json (Complete list of products)
--- software-distributions.json (Complete list of distributions)
-- templates/ (All the templates needes in the process)
1st approach
Add the
cd /var/www/be
Copy the template:
cp SW/templates/product.yaml ./release.yaml
Convert the yaml to json yaml2json release.yaml (this will create a release.json file in the same dir)
Manually add product