Code Monkey home page Code Monkey logo

scripts-for-drupal8's Introduction

scripts-for-drupal8

These scripts are ready to run from the root of the project.

codding-standards.sh

This script automatically corrects the files that are indicated by applying by default the standard encoding of drupal 8.

The files you will fix have the following extensions:

  • php
  • module
  • inc
  • install
  • test
  • profile
  • theme
  • css
  • info
  • txt
  • md
  • yml
  • JS

This script uses ESLINT (included in the drupal core) to check the syntax of the JS files, it must be installed by executing 'yarn install' inside the core folder of our drupal project.

install-module.sh

This script will uninstall, install the module that we indicate and clear the cache of the site to finalize

update-drupal-core.sh

This script will update the drupal core, download the code via composer, put the site in maintenance mode, then updatedb and finally remove the maintenance mode and clear the system cache. Keep in mind to make a copy of the database and put the site in maintenance mode.

drupal-console.sh

When this script is executed it will show a menu with different useful options for the system that will be executed through "drupal console".

The options are the following:

  • Display site status
  • Display sistem site info
  • Check updates
  • Generate module
  • Generate controller
  • Generate form
  • Generate FORM_ALTER of form_ID_ALTER
  • Generate service
  • Generate theme

scripts-for-drupal8's People

Stargazers

 avatar

Watchers

 avatar  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.