Commit 931ef2e

bryfry <116113+bryfry@users.noreply.github.com>
2024-03-16 18:18:45
move quickstart to init.sh
1 parent 99f5c5e
Changed files (1)
README.md
@@ -1,40 +1,12 @@
 ## Quickstart
 
 ```bash
-{
-  # env
-  CONFIG_DIR=${HOME}/.config
-  MF_DIR=${CONFIG_DIR}/mf
-
-  # apt
-  sudo apt update
-  sudo apt install -y \
-    python3-pip \
-    python3-venv \
-    git \
-    git-lfs \
-    sudo \
-    accountsservice
-
-  # fetch
-  mkdir -p "${CONFIG_DIR}"
-  git -C "${MF_DIR}" pull || git clone git@github.com:bryfry/mf.git "${MF_DIR}"
-
-  # pip/venv
-  python3 -m venv "${MF_DIR}"/venv
-  "${MF_DIR}"/venv/bin/python3 -m pip install ansible
-
-  # run
-  pushd "${MF_DIR}" || exit
-  "${MF_DIR}"/venv/bin/ansible-playbook main.yml --ask-become-pass
-  popd || exit
-}
+apt install sudo socat
+/sbin/usermod crash -aG sudo
 ```
 
-```bash 
-mkdir -p "${HOME}"/git
-cd "${HOME}"/git
-ln -s "${HOME}"/.config/mf
+```bash
+bash init.sh
 ```
 
 ## TODO: