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 [email protected]: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 v24.3.0 # install node 24.3.0
nvm exec v24.3.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-prod/.bw_session
- Create a venv at
~/fabricant-prod/.venv
python3.12 -m venv ~/fabricant-prod/.venv
- Activate venv
source ~/fabricant-prod/.venv/bin/activate
- Install dependencies
python -m pip install --upgrade pip poetry
cd ~/fabricant-prod/
poetry install
- Install
ansible-playbook playbook.yml