Frontend
- ui: react-bootstrap
- js framework: Create React App
- template: no use
Backend API
- apphub: this is for websoft9 system settings, such as port, api-key, domain
- cockpit: this is for running command at host machine
related classes
- src/helpers/api/apiCore.js (cockpit)
- src/helpers/api/appHub.js
You should install Websoft9 for testing, then build it:
git clone https://github.com/Websoft9/plugin-settings
cd plugin-settings
# test
yarn start
yarn test
# build
yarn build && cp -r ./build/* /usr/share/cockpit/settings/