mirror of
https://forge.chapril.org/tykayn/workflow
synced 2025-10-04 17:04:55 +02:00
fast init
This commit is contained in:
parent
d3a0db47fe
commit
dbe131f96a
5 changed files with 41 additions and 3 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.idea
|
||||
.vscode
|
4
Makefile
4
Makefile
|
@ -1,2 +1,4 @@
|
|||
default:
|
||||
bash ./init.sh
|
||||
bash ./init.sh
|
||||
fast:
|
||||
bash initialization/fast.sh
|
|
@ -21,7 +21,7 @@ make
|
|||
Configrer les variables, avoir le droit d'exécuter des scripts avec `sudo` puis lancer le script d'initialisation
|
||||
```bash
|
||||
editor workflow_variables.sh
|
||||
bash ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/initialization/init_workflow.sh
|
||||
bash $HOME/Nextcloud/ressources/workflow_nextcloud/public_workflow/initialization/init_workflow.sh
|
||||
```
|
||||
# Ce que fait ce dépot
|
||||
[doc/sections.md]
|
28
initialization/fast.sh
Normal file
28
initialization/fast.sh
Normal file
|
@ -0,0 +1,28 @@
|
|||
echo "========== init de workflow par Tykayn ======="
|
||||
sudo apt update -y
|
||||
sudo apt upgrade -y
|
||||
sudo apt autoremove -y
|
||||
|
||||
mkdir -p $HOME/Nextcloud/ressources/workflow_nextcloud/
|
||||
cd $HOME/Nextcloud/ressources/workflow_nextcloud/
|
||||
git clone https://source.cipherbliss.com/tykayn/workflow public_workflow
|
||||
cd public_workflow
|
||||
|
||||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B188E2B695BD4743
|
||||
|
||||
source $HOME/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
||||
apt install ansible python3-pip arp-scan borgbackup curl docker docker-compose etckeeper git gnupg jq meld nano ncdu nginx restic npm pandoc php8.4 python3 python3-pip tig zsh testdisk texlive rbenv htop python3-setuptools automysqlbackup certbot smartmontools fail2ban snapd unattended-upgrades php8.4-fpm php-xml php-mysql rsync php8.4-xml php-curl vrms syncthing sshfs geeqie calibre adduser snapd borgbackup exa adduser
|
||||
wget https://github.com/nextcloud-releases/desktop/releases/download/v3.16.6/Nextcloud-3.16.6-x86_64.AppImage
|
||||
chmod +x Nextcloud-3.16.6-x86_64.AppImage
|
||||
wget https://launchpad.net/veracrypt/trunk/1.26.24/+download/VeraCrypt-1.26.24-x86_64.AppImage
|
||||
chmod +x VeraCrypt-1.26.24-x86_64.AppImage
|
||||
|
||||
snap install btop
|
||||
snap install emacs --classic
|
||||
|
||||
cd
|
||||
wget https://source.cipherbliss.com/tykayn/workflow/raw/branch/main/assets/.bash_custom_aliases -O .bash_aliases
|
||||
wget https://source.cipherbliss.com/tykayn/workflow/raw/branch/main/assets/.bashrc
|
||||
|
||||
curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh > install_oh_my_zsh.sh
|
||||
bash install_oh_my_zsh.sh
|
|
@ -3,7 +3,13 @@
|
|||
# mise en place du workflow
|
||||
|
||||
echo "========== init de workflow par Tykayn ======="
|
||||
source ~/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
||||
|
||||
source $HOME/Nextcloud/ressources/workflow_nextcloud/public_workflow/workflow_variables.sh
|
||||
|
||||
if test -z "$WORKFLOW_PATH_PUBLIC"; then
|
||||
echo "variable vide WORKFLOW_PATH_PUBLIC."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
bash "$WORKFLOW_PATH_PUBLIC/initialization/partials/check_foler_integrity.sh"
|
||||
bash "$WORKFLOW_PATH_PUBLIC/initialization/partials/git_config_glob.sh"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue