Skip to content

Instantly share code, notes, and snippets.

@amitaibu
Created November 8, 2012 10:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amitaibu/4038025 to your computer and use it in GitHub Desktop.
Save amitaibu/4038025 to your computer and use it in GitHub Desktop.
Bash wrapper for installing OS make file
#!/bin/bash
SOURCE=/Applications/MAMP/htdocs/os-make
TARGET=/Applications/MAMP/htdocs/os-build
cd $SOURCE
bash scripts/build.sh -y $TARGET
cd $TARGET
drush sql-drop -y
drush si -y openscholar --account-pass=admin --db-url=mysql://root:root@localhost/os --uri=http://local:8888/os openscholar_flavor_form.os_profile_flavor=development openscholar_install_type.os_profile_type=vsite openscholar_flavor_form.dummy_content=TRUE
# Set the correct base-url.
drush vset purl_base_domain http://local:8888/os
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment