Skip to content

Instantly share code, notes, and snippets.

@brianherbert
Last active September 26, 2015 11:12
Show Gist options
  • Select an option

  • Save brianherbert/e321df16af8fb8201bc4 to your computer and use it in GitHub Desktop.

Select an option

Save brianherbert/e321df16af8fb8201bc4 to your computer and use it in GitHub Desktop.

Revisions

  1. brianherbert revised this gist Jul 22, 2014. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion install_v3.sh
    Original file line number Diff line number Diff line change
    @@ -30,4 +30,6 @@ sudo ln -s /usr/bin/nodejs /usr/bin/node
    bin/update

    # Make sure .htaccess is named properly
    mv httpdocs/template.htaccess httpdocs/.htaccess
    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
  2. brianherbert revised this gist Jul 22, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install_v3.sh
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@ cd platform
    vagrant up
    vagrant provision

    # SSH into your new vagrant box so we can fill in the gaps where the Puppet manifest left blank.
    # SSH into your new vagrant box so we can fill in the gaps where the Puppet manifest left off.
    vagrant ssh
    cd /var/www

  3. brianherbert revised this gist Jul 22, 2014. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions install_v3.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,7 @@
    # 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
  4. brianherbert revised this gist Jul 22, 2014. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion install_v3.sh
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,8 @@
    # Get the Ushahidi Platform from GitHub and stick it in a directory
    mkdir v3install
    cd v3install/platform
    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
  5. brianherbert revised this gist Jul 22, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install_v3.sh
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # Get the Ushahidi Platform from GitHub and stick it in a directory
    mkdir v3install
    cd v3install
    cd v3install/platform
    git clone [email protected]:ushahidi/platform.git

    # Fire up a vagrant box and provision it. I encountered warnings and errors but soldier on.
  6. brianherbert renamed this gist Jul 22, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  7. brianherbert revised this gist Jul 22, 2014. 1 changed file with 13 additions and 0 deletions.
    13 changes: 13 additions & 0 deletions install_v3
    Original file line number Diff line number Diff line change
    @@ -1,15 +1,28 @@
    # Get the Ushahidi Platform from GitHub and stick it in a directory
    mkdir v3install
    cd v3install
    git clone [email protected]:ushahidi/platform.git

    # 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 blank.
    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
  8. brianherbert created this gist Jul 22, 2014.
    15 changes: 15 additions & 0 deletions install_v3
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    mkdir v3install
    cd v3install
    git clone [email protected]:ushahidi/platform.git
    vagrant up
    vagrant provision
    vagrant ssh
    cd /var/www
    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
    sudo ln -s /usr/bin/nodejs /usr/bin/node
    bin/update
    mv httpdocs/template.htaccess httpdocs/.htaccess