Skip to content

CCCMcluster/CCCM-Website

Repository files navigation

CCCM

Installation

  • Clone or download the git repo.
  • The project uses packages from composer and also eslint as devDependency from yarn/npm. Make sure to install composer and yarn/npm in your system and execute the command below to install required dependencies
cd project_dir
composer install
yarn

Usage

Composer

With composer require ... you can download new dependencies to your installation.

Drush

  • Runserver (PHP’s built-in http server for development): drush runserver
  • Clear cache: drush cc
  • Clear all cache: drush cache-rebuid
  • Shows list of available modules & themes drush pml
  • Run any pending database updates drush updb
  • Enable a module: drush pm:enable {name_of_module}
  • Disable a module: drush pm:uninstall {name_of_module}
  • Check Drupal Composer packages for security updates: drush pm:security
  • Check watchdog (logged events): drush ws

Customizing Theme

This website uses Bootstrap as a base theme and the globalcccm theme is a bootstrap extension of it. If any theme changes is needed to be done, follow steps below cd web/themes/custom/globalcccm

  • Enable debug mode
  • Edit the gulpfile.js and change the proxy to your server URL followed by installing dependencies and creating js,css.
browserSync.init({
    proxy: 'http://yourdomain.com',
})
yarn
yarn gulp