Created
November 8, 2012 10:36
-
-
Save amitaibu/4038025 to your computer and use it in GitHub Desktop.
Bash wrapper for installing OS make file
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
#!/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