Created
November 11, 2014 03:59
-
-
Save dennmart/60788929cf89dde5d720 to your computer and use it in GitHub Desktop.
Provisioning script for WaniKani to Anki (https://github.com/dennmart/wanikani-to-anki) Vagrantfile
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
#!/usr/bin/env bash | |
echo "Updating apt..." | |
sudo apt-get update -y -qq > /dev/null | |
echo "Installing required libraries for the app..." | |
sudo apt-get -y -q install ruby-dev > /dev/null | |
cd /vagrant | |
echo "Installing bundler..." | |
su -c "gem install bundler --no-rdoc --no-ri > /dev/null" root | |
echo "Installing Ruby gems (this may take a while)..." | |
bundle install --quiet > /dev/null | |
echo "Starting up WaniKani To Anki..." | |
rackup -D | |
echo "Done! Open your browser and go to http://localhost:9292 and see WaniKani to Anki in action!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment