antistatique / antistatique.net

Drupal 7 for antistatique website
1 stars 2 forks source link

Antistatique.net 2015

Codeship Status for antistatique/antistatique.net

Drupal 7

Install Drupal

First copy the staging/prod database to your local database. Edit drupal/sites/default/settings.php with the correct database info.

Then:

 # create and edit the settings with your database infos
$ cp drupal/sites/default/default.settings.php drupal/sites/default/settings.php
$ vim drupal/sites/default/settings.php

 # pull the production/staging database locally
$ bundle install
$ bundle exec cap staging database:copy:to_local

$ cd drupal
$ drush cc all
$ drush fra

Install the styleguide

View in action

$ npm install
$ gulp

Build only the minimum required for production

$ gulp build

Watch and compile files as you go

$ gulp serve

Publish to GH-Pages

$ gulp deploy

Deploy the project

$ bundle install
$ bundle exec cap staging deploy