Skip to content

Commit

Permalink
Minor install script edits
Browse files Browse the repository at this point in the history
  • Loading branch information
dmac committed Feb 28, 2013
1 parent dd490a2 commit 9bb3504
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions install_barkeep.sh
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
# - redis # - redis
# - git 1.7.6+ # - git 1.7.6+
# - ruby 1.9.3-p194 # - ruby 1.9.3-p194
# As long as these dependencies are met, you can immediately start with the "Clone Barkeep" step. # As long as these dependencies are met, you can proceed to the "Clone Barkeep" step.
# If you don't care about setting up a reverse proxy, you can skip that step. # If you don't want to set up a reverse proxy you can skip installing and configuring nginx.


# Install core dependencies # Install core dependencies
sudo apt-get update sudo apt-get update
Expand All @@ -34,7 +34,7 @@ rbenv rehash
git clone git://github.com/ooyala/barkeep.git ~/barkeep git clone git://github.com/ooyala/barkeep.git ~/barkeep
cd ~/barkeep && bundle install && rbenv rehash cd ~/barkeep && bundle install && rbenv rehash


# Configure a reverse proxy to Barkeep # Configure a reverse proxy webserver (nginx) to Barkeep
sudo rm /etc/nginx/sites-enabled/default sudo rm /etc/nginx/sites-enabled/default
sudo cp ~/barkeep/config/system_setup_files/nginx_site.prod.conf /etc/nginx/sites-enabled/barkeep sudo cp ~/barkeep/config/system_setup_files/nginx_site.prod.conf /etc/nginx/sites-enabled/barkeep
sudo /etc/init.d/nginx restart sudo /etc/init.d/nginx restart
Expand All @@ -53,6 +53,6 @@ cp environment.prod.rb environment.rb
cp environment.prod.sh environment.sh cp environment.prod.sh environment.sh
echo "******************************" echo "******************************"
echo "To configure sending emails from Barkeep, edit GMAIL_ADDRESS and GMAIL_PASSWORD\ echo "To configure sending emails from Barkeep, edit GMAIL_ADDRESS and GMAIL_PASSWORD\
in environment.rb and run: sudo restart barkeep" in environment.rb and run: sudo restart barkeep"
echo "******************************" echo "******************************"
sudo start barkeep sudo start barkeep

0 comments on commit 9bb3504

Please sign in to comment.