Skip to content

Commit

Permalink
added simple bash script to build/install
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhyungkf committed Nov 5, 2024
1 parent 9956303 commit 6943f95
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash

echo "cloning repo"
git clone https://github.com/keyfactor/Keyfactor-CAgent -b tedge-demo

echo "installing dependencies, please provide password as necessary"
sudo apt update
sudo apt install -y build-essential git libcurl4-gnutls-dev curl libssl-dev

echo "creating /home/keyfactor folder structure"
sudo mkdir /home/keyfactor
sudo mkdir /home/keyfactor/Keyfactor-CAgent
sudo mkdir /home/keyfactor/Keyfactor-CAgent/certs
sudo chown -R $(whoami):$(whoami) /home/keyfactor
touch /home/keyfactor/Keyfactor-CAgent/certs/trust.store

echo "building agent"
cd Keyfactor-CAgent
make clean
make opentest

echo "run ./agent to continue"

0 comments on commit 6943f95

Please sign in to comment.