GithubHelp home page GithubHelp logo

jhedstrom / drupal8-contrib Goto Github PK

View Code? Open in Web Editor NEW

This project forked from docksal/drupal8-contrib

0.0 1.0 0.0 33 KB

Docksal Powered Drupal 8 Core Contribution Installation

Shell 15.46% PHP 84.54%

drupal8-contrib's Introduction

Docksal powered Drupal 8 Core Contribution Installation

This is a Drupal 8 installation geared for local Core and Contrib development for use with Docksal.

Build status

Features:

Setup instructions

Step #1: Docksal environment setup

This is a one time setup - skip this if you already have a working Docksal environment.

Follow Docksal environment setup instructions

Step #2: Project setup

  1. Clone this repo into your Projects directory

    git clone https://github.com/docksal/drupal8-contrib.git drupal8
    cd drupal8
    
  2. Initialize the site

    This will clone the core repository into docroot, initialize local settings and install the site via drush

    fin init
    
  3. Point your browser to

    http://drupal8.docksal
    

When the automated install is complete the command line output will display the admin username and password.

Step #3: Contributing to core!

  1. Find and issue, and create a local branch in the docroot folder:

    cd docroot
    git checkout -b 12345-short-description
    

    where 12345 is the issue number, and short-description is just something to remind you of the issue.

  2. Apply the patch from the issue if it exists.

  3. Run any relevant phpunit tests locally:

    fin phpunit path/to/file/or/directory
    

    for instance:

    fin phpunit core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php
    

    Note: it is not advisable to simply run fin phpunit as this will run all the core tests, which can take hours locally.

Security notice

This repo is intended for local core contributions and includes a hardcoded value for hash_salt in settings.php. You should not base your project off of this code base. If you do for whatever reason, make sure you regenerate and update the hash_salt value. A new value can be generated with drush ev '$hash = Drupal\Component\Utility\Crypt::randomBytesBase64(55); print $hash . "\n";'

drupal8-contrib's People

Contributors

jhedstrom avatar lmakarov avatar

Watchers

 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.