Giter VIP home page Giter VIP logo

drupal-testing's Introduction

Quickstart Explanation

The following is an explanation of how this Quickstart was created so you can use it as a guide in creating your own Quickstarts.

  • Config File: Because Pagoda Box needs a different config file than a local version of the site, we created a new directory in the root of the project called "pagoda" and created a pagoda version of the config file there. Then we created an After Build deploy hook in the Boxfile that moved that file from pagoda/settings.php to sites/default/settings.php. Also, in place of the static database credentials, we used the auto-created environment variables.
    
        after_build:
            - "mv pagoda/settings.php sites/default/settings.php"
    
  • Database Component: An empty database was created by adding a db component to the Boxfile.
   
        db1:
            name: drupal
   
  • Database Import: Since the install script creates database tables, it was necessary to import an SQL file. We can do that with a Before Deploy hook, but since that import should only happen on the first deploy and not subsequent deploys, it was placed in the Boxfile.install file.
   
        before_deploy:
            - "mysql -h $DB1_HOST --port $DB1_PORT -u $DB1_USER -p$DB1_PASS $DB1_NAME < pagoda/quickstart-db.sql"
   

drupal-testing's People

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.