acrn-hypervisor/misc/config_tools/configurator
Weiyi Feng ac9824cd54 configurator: fix can't load scenario without pci_devs issue
fix can't load scenario without pci_devs issue

Tracked-On: #7246
Signed-off-by: Weiyi Feng <weiyix.feng@intel.com>
2022-04-06 11:17:18 +08:00
..
src configurator: fix can't load scenario without pci_devs issue 2022-04-06 11:17:18 +08:00
src-tauri configurator: add new configurator 2022-03-31 19:26:33 +08:00
.gitignore configurator: add new configurator 2022-03-31 19:26:33 +08:00
README.md configurator: add new configurator 2022-03-31 19:26:33 +08:00
index.html configurator: add new configurator 2022-03-31 19:26:33 +08:00
package.json configurator: update configurator version to 0.3.0 2022-04-01 12:19:40 +08:00
requirements.txt configurator: add new configurator 2022-03-31 19:26:33 +08:00
tsconfig.json configurator: add new configurator 2022-03-31 19:26:33 +08:00
vite.config.js configurator: add new configurator 2022-03-31 19:26:33 +08:00
yarn.lock configurator: update configurator dependencies to latest version 2022-04-01 09:14:43 +08:00

README.md

ACRN Configurator

This version based on tauri, WIP.

Features

Support Platforms

  • Linux (.deb, AppImage)
  • Windows 7,8,10 (.exe, .msi)
  • macOS (.app, .dmg)

Setting Up

1. Install System Dependencies

Please follow this guide to install system dependencies (including yarn).

2. Clone Project And Install Project Dependencies.

Linux

sudo apt install git
git clone https://github.com/projectacrn/acrn-hypervisor
cd acrn-hypervisor/misc/config_tools/configurator
python3 -m pip install -r requirements.txt
yarn

Windows && macOS

Similar to Linux.

On macOS, you may need to install git and python3 via brew.

In Windows environment maybe you need to install git and python3 via chocolatey or manually, and replace the command line python3 with py -3.

3. How To Build

Linux

Run this command in the acrn-hypervisor directory.

make configurator

Windows/macOS

Run follow command in the 'acrn-hypervisor' directory.

python3 misc/config_tools/scenario_config/schema_slicer.py
python3 misc/config_tools/scenario_config/xs2js.py
cd misc/config_tools/configurator
yarn build

4. How To Run

Linux

Run this command in the acrn-hypervisor directory.

sudo apt install ./build/acrn-configurator_*.deb
acrn-configurator

Windows/macOS

You can find msi(Windows)/dmg(macOS) folder under the misc/config_tools/configurator/src-tauri/target/release/bundle

directory, the installer in the folder.