Files
dokku/bootstrap.sh

22 lines
656 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -eo pipefail
export DEBIAN_FRONTEND=noninteractive
export DOKKU_REPO=${DOKKU_REPO:-"https://github.com/progrium/dokku.git"}
2013-06-09 16:08:35 -07:00
if ! which apt-get &>/dev/null
then
echo "This installation script requires apt-get. For manual installation instructions, consult https://github.com/progrium/dokku ."
exit 1
fi
apt-get update
2013-08-24 11:21:55 -07:00
apt-get install -y git make curl software-properties-common
cd ~ && test -d dokku || git clone $DOKKU_REPO
cd dokku && test $DOKKU_BRANCH && git checkout origin/$DOKKU_BRANCH || true
2013-10-15 22:49:56 +02:00
make install
2013-06-08 03:26:12 -07:00
echo
echo "Almost done! For next steps on configuration:"
echo " https://github.com/progrium/dokku#configuring"