deploy script

This commit is contained in:
iceyrazor 2025-05-24 05:14:31 -05:00
parent e966d5328d
commit bc93cfe3c3
5 changed files with 15 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.env_private

1
env_private Submodule

@ -0,0 +1 @@
Subproject commit cfc8c7d0b77a0aeb71286b62bf780e64dd399c1c

5
run.sh
View File

@ -1,4 +1,9 @@
#!/bin/bash #!/bin/bash
[ "$ENV_DIR" == "" ] && export ENV_DIR=$HOME
[ ! -d "$ENV_DIR" ] && echo ENV_DIR DOES NOT EXIST && exit 1
echo ENV_DIR "$ENV_DIR"
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
runs_dir="$(find $script_dir/runs -mindepth 1 -maxdepth 1 -type f -executable)" runs_dir="$(find $script_dir/runs -mindepth 1 -maxdepth 1 -type f -executable)"

View File

@ -0,0 +1,7 @@
#!/bin/bash
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
echo DEPLOYING FILES
cp -r $script_dir/../env/.* "$ENV_DIR"
[ -d "$script_dir/../env_private/" ] && cp -r $script_dir/../env_private/.* "$ENV_DIR"
echo -----------------

View File

@ -7,7 +7,7 @@ sudo="sudo"
echo GETTING CURRENT REQS ARCH echo GETTING CURRENT REQS ARCH
$sudo pacman -S xorg-server libxft libxinerama pipewire-pulse pipewire-alsa pipewire-jack qpwgraph wezterm ttf-inconsolata sddm wayland hyprland waybar xdg-desktop-portal xdg-desktop-portal-hyprland xdg-desktop-portal-gtk zsh vlc v4l2loopback-dkms qt6-wayland qt5-wayland ntfs-3g gnome-keyring inetutils doas cowsay fastfetch yt-dlp ttf-jetbrains-mono ttf-jetbrains-mono-nerd noto-fonts-emoji font-manager atuin gvfs-mtp bat lxappearance cmus grim btop htop rxvt-unicode lf inetutils openrgb reflector steam $sudo pacman -S xorg-server libxft libxinerama pipewire-pulse pipewire-alsa pipewire-jack qpwgraph wezterm ttf-inconsolata sddm wayland hyprland waybar xdg-desktop-portal xdg-desktop-portal-hyprland xdg-desktop-portal-gtk zsh vlc v4l2loopback-dkms qt6-wayland qt5-wayland ntfs-3g gnome-keyring inetutils doas cowsay fastfetch yt-dlp ttf-jetbrains-mono ttf-jetbrains-mono-nerd noto-fonts-emoji font-manager atuin gvfs-mtp bat lxappearance cmus grim btop htop rxvt-unicode lf inetutils openrgb reflector steam rofi-wayland
# for vr # for vr
$sudo pacman -S cli11 eigen glib2 glib2-devel nlohmann-json patch $sudo pacman -S cli11 eigen glib2 glib2-devel nlohmann-json patch