Created
August 22, 2014 00:56
-
-
Save portokallidis/0883cdf9a0fb9809ab6e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get update | |
apt-get -y dist-upgrade | |
# Install dokku | |
# Has to be ran twice for success, not sure why | |
wget -qO- https://raw.github.com/progrium/dokku/v0.2.3/bootstrap.sh | sudo DOKKU_TAG=v0.2.3 bash | |
wget -qO- https://raw.github.com/progrium/dokku/v0.2.3/bootstrap.sh | sudo DOKKU_TAG=v0.2.3 bash | |
# Update VHOST | |
echo "ares.cu.cc" > /home/dokku/VHOST | |
# Update dokku | |
cd /home/dokku | |
git pull origin master | |
make install | |
cd ~/ | |
# Update buildstep | |
git clone https://github.com/progrium/buildstep.git | |
cd buildstep | |
# sites that needed php stopped working for me after this commit | |
# Commit out this line to use the most resent version of buildstep | |
git checkout 90aa814665815ddcbd72d0a8ace01be2978aa11a | |
make build | |
cd .. | |
rm -rf buildstep | |
# Install plugins | |
git clone https://github.com/rlaneve/dokku-link.git /var/lib/dokku/plugins/link | |
dokku plugins-install | |
git clone https://github.com/mordred/dokku-redirects-plugin.git /var/lib/dokku/plugins/redirects-plugin | |
# git clone https://github.com/jlachowski/dokku-rabbitmq-single-plugin.git /var/lib/dokku/plugins/rabbitmq | |
git clone https://github.com/jezdez/dokku-redis-plugin.git /var/lib/dokku/plugins/redis | |
git clone https://github.com/jeffutter/dokku-mongodb-plugin.git /var/lib/dokku/plugins/mongodb | |
git clone https://github.com/scottatron/dokku-rebuild /var/lib/dokku/plugins/rebuild | |
dokku plugins-install | |
reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment