The repo is divided into two parts:
- static website
- site data gatherer
Review site/readme.md.
The evaluator is a Dart script. The script performs these high-level actions:
- Gather site information from Pantheon for each site of a Pantheon organizaiton.
- Gathers additional data from worpdress.org
- Evaluates the information gathered for each site and determines potential issues.
- Produces a detailed JSON file containing the gathered information and potential issues.
This example can be used to update the json file expected by the Vue app.
terminus auth:login [email protected]
dart pub get --directory=evaluator
dart ./evaluator/bin/main.dart --results-file=./site/data/sites.json
- terminus (from Pantheon)
cd evaluator
dart test
- Open this file
evaluator/lib/evaluator.dart
- Edit the contents of the variable
_phpVersions
dart ./evaluator/bin/main.dart --results-file=./site/data/sites.json
cd site
npm run build
npm run generate
aws s3 sync ./dist/ ${{ vars.AWS_S3_BUCKET }} --delete --acl public-read
A Docker container is used to implement the buildchain. Helper bin scripts have been provided for actions with the build chain.
./bin/build.sh
./bin/shell.sh
- Figure out how to authorize terminus within the buildchain