Note
This is an experimental project! There might be bugs and the UI is not perfect!
Here are the sources for the Agama autoinstallation profile validator.
The validator is available online at https://lslezak.github.io/agama-online-validator/.
The validator can be also used offline, without any internet access. The page and the JSON validation schema files are cached in the browser. If network is not available these cached files are used to provide the functionality.
Press the "Install app" button in the top right corner to install it as a web
application. This adds creates a shortcut on the desktop and associates the
*.json extension with the web application. See more details about the web
applications in the Mozilla
documentation.
Note: This is supported only in some browsers. Not all browsers support installing web applications (PWA). It should work in all Chrome based browsers. Firefox requires a PWA extension. See more details about the web apps in the Chrome documentation.
You can download the ZIP archive with the built validator and deploy it on a local HTTP server or directly in your machine.
- https://docs.pwabuilder.com/
- https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps
- https://github.com/mdn/pwa-examples
- https://support.google.com/chrome/answer/9658361?hl=en&ref_topic=7439636
# Install dependencies
npm install
# Start the development server
npm run start:dev
# Create production build (saved to ./dist subdirectory)
npm run build
# Run the linter
npm run lint
# Run the code formatter
npm run format
# Inspect the bundle size
npm run bundle-profile:analyze
# Build and serve the production build
npm run build && npm run startThe repository structure was based on the patternfly-react-seed repository.