Last active
September 26, 2015 11:12
-
-
Save brianherbert/e321df16af8fb8201bc4 to your computer and use it in GitHub Desktop.
Current Ushahidi v3 install steps as of Jul 22, 2014
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
# Assumptions: You have vagrant and VirtuaBox installed on your machine | |
# Virtual Box https://www.virtualbox.org/ | |
# Vagarant http://www.vagrantup.com/ | |
# Get the Ushahidi Platform from GitHub and stick it in a directory | |
mkdir v3install | |
cd v3install | |
git clone [email protected]:ushahidi/platform.git | |
cd platform | |
# Fire up a vagrant box and provision it. I encountered warnings and errors but soldier on. | |
vagrant up | |
vagrant provision | |
# SSH into your new vagrant box so we can fill in the gaps where the Puppet manifest left off. | |
vagrant ssh | |
cd /var/www | |
# Install composer, node, npm and bower | |
curl -sS https://getcomposer.org/installer | php | |
sudo apt-get update | |
sudo apt-get install nodejs | |
sudo apt-get install npm | |
sudo npm install -g bower | |
# Bower expects node to be at "node" and not "nodejs" so symlink it. | |
sudo ln -s /usr/bin/nodejs /usr/bin/node | |
# Run all of our updates with this handy script | |
bin/update | |
# Make sure .htaccess is named properly | |
mv httpdocs/template.htaccess httpdocs/.htaccess | |
# You should now have the platform running locally at http://192.168.33.110/ - feel free to "exit" your SSH session |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got an error when doing vagrant up saying that.
puppet provisioner: