Skip to content

Instantly share code, notes, and snippets.

@brianherbert
Last active September 26, 2015 11:12
Show Gist options
  • Save brianherbert/e321df16af8fb8201bc4 to your computer and use it in GitHub Desktop.
Save brianherbert/e321df16af8fb8201bc4 to your computer and use it in GitHub Desktop.
Current Ushahidi v3 install steps as of Jul 22, 2014
# 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
@vyavhare
Copy link

I got an error when doing vagrant up saying that.

puppet provisioner:

  • The following settings shouldn't exist: environment, environment_path
  • The manifests path specified for Puppet does not exist: /home/udhav/platform/manifests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment