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
Amitai Burstein edited this page Oct 24, 2013
·
26 revisions
Below an example of a shell script that allows you to build a project and install a development OpenScholar installation.
copy default.install.sh install.sh
Edit install.sh and change the mysql username and password, and
#!/bin/bash
chmod 777 www/sites/default
rm -rf www/
mkdir www
bash scripts/build
cd www
drush si -y openscholar --account-pass=admin --db-url=mysql://root:root@localhost/os --uri=http://local:8888/os_make openscholar_flavor_form.os_profile_flavor=development openscholar_install_type.os_profile_type=vsite
drush vset purl_base_domain 'http://localhost/openscholar/www'
# This command migrates dummy content and is used for development and testing.
drush en -y os_migrate_demo
drush mi --all --user=1
drush uli --uri=http://localhost/openscholar/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.