You are here

Clean Corporate Theme

Primary tabs

$ sudo drush en clean_corporate_theme adaptivetheme -y && drush vset theme_default clean_corporate_theme

profileの場合は、

$ sudo drush dl corporate_profile-7.x --drupal-project-rename=corporate_profile
$ cd corporate_profile
$ sudo drush si corporate_profile --db-url=mysql://dp_db_admin:dp_db_password@localhost/db_corporate_profile --db-su=root --db-su-pw=password --site-name="corporate_profile" --account-mail=octaviadata@outlook.com --site-mail=octaviadata@outlook.com
$ wget -c https://github.com/woothemes/FlexSlider/archive/master.zip -P /tmp
$ unzip /tmp/master.zip -d /tmp
$ sudo mv /tmp/FlexSlider-master profiles/corporate_profile/libraries/flexslider
$ sudo drush en flexslider_views, flexslider_example, flexslider_fields, flexslider -y
$ sudo drush cron
$ sudo chown -R www-data:www-data .
$ sudo find . -type f -exec chmod u=rw,g=r,o=r '{}' \; && sudo find . -type d -exec chmod u=rwx,g=rx,o=rx '{}' \; && sudo chmod a+w sites/default/files && sudo chmod 444 sites/default/settings.php
$ sudo drush -y pm-update
type: 
theme