Coder Social home page Coder Social logo

cam8001 / df Goto Github PK

View Code? Open in Web Editor NEW

This project forked from acquia/df

0.0 2.0 0.0 36.54 MB

Mirror of https://git.drupal.org/project/df.git -- [Created 2016-03-02 by brantwynn aka [email protected] via github.acquia.com]

Home Page: https://www.drupal.org/project/df

Shell 5.43% PHP 13.94% JavaScript 0.93% CSS 58.94% Gherkin 6.73% HTML 14.03%

df's Introduction

DF

Travis build status Scrutinizer code quality

DF is a distribution consisting of modules, themes and libraries. It highlights powerful features created by the Drupal community. It is intended to be used as a starterkit for promoting enterprise-ready solutions.

Installation

Installation currently only supported via Drush commands. First, build the profile using Drush make.

drush make build-df.make ~/Destination/docroot

Use Composer Manager to install additional dependencies in the Drupal 8 docroot.

php profiles/df/modules/contrib/composer_manager/scripts/init.php && composer drupal-update

Note: depending on how you have gitignore set up, you may need to run composer drupal-update --no-dev if you get a runtime error on drupal-update.

Use the site-install command to install Drupal with the DF installation profile.

drush si df

Enable a DF Scenario using the enable-scenario command.

drush es dfs_dev

If everything worked correctly, you should see console output that some migrations ran.

You may now login to your site.

drush uli -l http://mysite.dd

You may also reset the content of a DF Scenario if it is enabled.

drush rs dfs_dev

Using the Zurb Foundation Sub Theme

To motify the CSS/JS you must use the scss files. You will find various different SCSS files in SCSS directory that root. There are specifc ones for the theme in base & layout. All the variables are set in _settings.scss, you will also be able to override variables there.

To compile scss you will need a few things installed on your machine:

Then you will need to run:

  • npm install
  • bower install

if you need to update the vendor js, I added in some gulp files that make that easy.

  • gulp copy will copy the bower_component files for zurb and motion ui
  • gulp concat will concatenate all the files into a single vendor.all.js file and put it in your js/ folder where its already being called by drupal

Once that is installed, start the gulp file which will watch for scss changes:

  • npm start

Behat tests

Install the drupal-extension for mink/behat from the DF profile.

cd profiles/df/tests && composer install

Set up a behat.yml file replacing @BASE_URL@ with the URL to your site and @DRUPAL_ROOT@ with the path to your site on disk.

cp behat.template.yml behat.yml

Check that behat is installed and running.

bin/behat --help

Execute a batch of tagged features that apply to all DF Scenarios.

bin/behat --tags=df

Execute a batch of tagged features for a specific DF Scenario.

bin/behat --tags=dfs_dev

df's People

Contributors

briancwald avatar devincarlson avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.