fabricant.ucsd.edu configuration
- Create and install a GitHub deploy key
- Ensure that the system can SSH into itself
- Install Python3.12
- Clone this repo
git clone git@github.com:KastnerRG/fabricant.git /home/fabricant-admin/fabricant
- Install Bitwarden Client
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash # install nvm
source ~/.bashrc # activate nvm
nvm install v22.9.0 # install node 22.9.0
nvm exec v22.9.0 # activate node
npm install -g @bitwarden/cli # installs bw
bw config server https://vault.e4e-gateway.ucsd.edu # configures bw to our vault
bw login # Logs in
- Bootstrap creds
bw unlock --raw > ~/fabricant/.bw_session
- Create a venv at
~/fabricant/.venv
python3.12 -m venv ~/fabricant/.venv`
- Activate venv
source ~/fabricant/.venv/bin/activate
- Install dependencies
python -m pip install --upgrade pip poetry
cd ~/fabricant/
poetry install
- Install
ansible-playbook playbook.yml