GithubHelp home page GithubHelp logo

naturalsolutions / crea-drupal-module Goto Github PK

View Code? Open in Web Editor NEW
0.0 13.0 0.0 22.84 MB

JavaScript 14.81% HTML 4.93% CSS 8.10% PHP 69.45% Makefile 0.01% Shell 0.02% XSLT 0.04% Hack 0.02% TSQL 2.44% Smarty 0.18%

crea-drupal-module's Introduction

crea-drupal-module

Mise à jour d'une instance locale

  • Récupérer une base de données à jour sur le serveur de prod

pg_dump -U -Fc -h localhost > ./mybackup.backup

  • Restaurer la base de données sur votre instance locale

pg_restore -c --username= --dbname= -h localhost -n public ./mybackup.backup

  • Mettre à jour le code

cd crea-drupal-module

git pull origin master

  • Appliquer les mises à jour de code vers la base de données (par exemple : mise à jour de module). Vérifier que le paramètre update est à TRUE dans le fichier settings.php

http://<nom-de-domain-atlas.local>/update.php

  • Désactiver le module captcha et recaptcha avec Drush

cd path/mydrupal

drush dis captcha

  • Se connecter à l'instance atlasmontblanc.

http://<nom-de-domain-atlas.local>/user

  • Modifier le chemin vers le dossier temporaire :

http://<nom-de-domain-atlas.local>/admin/config/media/file-system

  • Modifier les nom de domaines de prod par ceux de votre instance de démo ou locales :

http://<nom-de-domain-atlas.local>/fr/admin/structure/domain

crea-drupal-module's People

Contributors

cdcvidal avatar

Watchers

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