Giter Club home page Giter Club logo

drupal-8-docker-git-composer-starter-kit's Introduction

Bring up containers

docker-compose up -d --build

Installing Drupal

docker exec -it drupal_1 bash /app # composer create-project drupal-composer/drupal-project:8.x-dev /app --stability dev --no-interaction /app # mkdir -p /app/config/sync /app # chown -R www-data:www-data /app/web /app # drush config-export /app # exit`

Shell login

docker exec -it drupal_1 bash

Updating Drupal 8 Core

git checkout -b update-drupal

docker exec -it drupal bash

/app #composer update drupal/core --with-dependencies

/app #drush updb

/app # exit

git add .

git commit -m "Updated Drupal Core."

git push

Installing a “Contrib” Module or Theme

git checkout -b install-pathauto

docker exec -it drupal_1 bash

/app #composer require drupal/pathauto

/app #drush en pathauto -y

/app # exit

git add .

git commit -m "Installed Pathauto."

git push

Updating Drupal “Contrib” Modules & Themes

git checkout -b update-pathauto

docker exec -it drupal_1 bash

/app # composer update drupal/pathauto --with-dependencies

/app # drush updb # updates the DB with any schema changes

/app # exit

git add .

git commit -m "Updated Pathauto."

git push

drupal-8-docker-git-composer-starter-kit's People

Contributors

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