You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
amitaibu edited this page Nov 15, 2012
·
26 revisions
Below an example of a shell script that allows you to build a project and install a development OpenScholar installation.
#!/bin/bash
SOURCE=/Applications/MAMP/htdocs/os-make
cd $SOURCE
bash scripts/build.sh -y
cd www
drush si -y openscholar --account-pass=admin --db-url=mysql://root:root@localhost/os_build openscholar_flavor_form.os_profile_flavor=development openscholar_install_type.os_profile_type=vsite openscholar_flavor_form.dummy_content=TRUE
# Set the base path to the URL your site is served from.
drush vset purl_base_domain http://localhost/os-make/www
When you wish to re-build the profile (i.e. when there is a new release of OpenScholar) you can execute bash scripts/build.sh -y from the command line.