Created
July 3, 2023 15:58
-
-
Save M4rtinK/99b3da57812bf9e159ca186ad1dd8883 to your computer and use it in GitHub Desktop.
3 useful scripts for Anaconda Web UI development
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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