happy-dev / cdma-greta

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Greta CDMA - https://cdma.greta.fr

Install

This installation guide assumes you have either Ngnix or Apache as well as MySQL installed, with a Vhosts set correctly.

  1. Clone the repo in the appropriate Vhost folder : git clone https://happy-dev@bitbucket.org/sylvia_graphisme/greta-cdma.git
  2. cd into the cloned repository, and set the wp-config.php file as follows : cp wp-config-sample.php wp-config.php
  3. Edit the wp-config.php file so the database and Vhost configs matches yours :
    • define('WP_HOME', 'http://greta-cdma.dev');
    • define('WP_SITEURL', 'http://greta-cdma.dev');
    • define('DB_NAME', 'gretacdma');
    • define('DB_HOST', 'localhost');
    • define('DB_PASSWORD', 'gretacdma');
    • define('DB_HOST', 'localhost');
  4. Install NodeJS
  5. Install NPM : npm install -g npm
  6. Install Bower : npm install -g bower
  7. cd into the Sage theme folder : cd wp-content/themes/sage
  8. Install Node modules dependencies : npm install
  9. Install Bower components dependencies : bower install
  10. Compile SCSS into CSS and concatenate JS files : gulp watch

Warning

  • The Wordfence plugin requires the .user.ini at the root of the repository. Here is an example of what its content might be :
; Wordfence WAF
auto_prepend_file = '/var/www/html/cdma_greta/wordfence-waf.php'
; END Wordfence WAF

Team

About

License:Other


Languages

Language:PHP 70.3%Language:JavaScript 19.5%Language:CSS 9.6%Language:SCSS 0.5%