Skip to content

Instantly share code, notes, and snippets.

@M4rtinK
Created July 3, 2023 15:58
Show Gist options
  • Save M4rtinK/99b3da57812bf9e159ca186ad1dd8883 to your computer and use it in GitHub Desktop.
Save M4rtinK/99b3da57812bf9e159ca186ad1dd8883 to your computer and use it in GitHub Desktop.
3 useful scripts for Anaconda Web UI development
$ cat webui_setup.sh
#!/bin/bash
echo "### CLEANING UP ###"
rm -rf anaconda/ui/webui/bots
rm -rf anaconda/ui/webui/node_modules
rm -rf anaconda/ui/webui/dist
rm -rf anaconda/result
rm -f anaconda/ui/webui/package-lock.json
echo "### BUILDING ANACONDA ###"
cd anaconda
./autogen.sh;./configure;make;make rpms
echo "### PREPARING WEBUI ###"
cd ui/webui
make bots
./bots/image-download fedora-rawhide-boot
make create-updates.img
echo "### DONE ###"
$ cat start_vm.sh
#!/bin/bash
cd anaconda/ui/webui
./test/webui_testvm.py fedora-rawhide-boot --rsync
$ cat rsync_start.sh
#!/bin/bash
cd anaconda/ui/webui
make rsync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment