blob: fcd9b5e3453c78f67177c1d57de1174be9effa01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
#
function clone_repo {
if [ -d ./pixelated-user-agent ]
then
cd pixelated-user-agent
/usr/bin/git pull --rebase
rm -rf web-ui/node_modules
else
/usr/bin/git clone https://github.com/pixelated/pixelated-user-agent.git
cd pixelated-user-agent
fi
}
sudo apt-get install -y puppet git </dev/null
clone_repo
sudo puppet apply --modulepath='provisioning/modules' provisioning/manifests/debian.pp
./install-pixelated.sh -v ~/.virtualenv/user-agent-venv
|