Coder Social home page Coder Social logo

drupal7mongodb's Introduction

Drupal 7.0 Example

This is a no-thrills example of a minimal repository to deploy a Drupal 7.0 instance on Platform.sh

This example is based on using the Drush Make build profile. You can see there is not much in terms of files comitted to this repository. You can learn (much) more on Platform.sh Drupal Hosting Documentation

This is the whole layout of the repository (it will still make for a perfectly functional web site on http://platform.sh !)

.platform/
         /routes.yaml
         /services.yaml
libraries/
         /README.txt
modules/
         /README.txt
themes/
         /README.txt
.platform.app.yaml
project.make

in .platform.app.yaml we have the basic configuration of our applicaiton (we call it php), saying this is a Drupal application, that we depdend on a database called database and that we what to run updatedb on deployment .. and set up a cron.

In .platform/routes.yaml we just say that we will redirect www to the naked domain, and that the application that will be serving HTTP will be the one we called php.

In .platform/services.yaml we say we want a MySQL instance, a Redis and a Solr. That would cover most basic Drupal needs, right?

We also give you some nice empty (and totally not required) directories, so you would know where you are supposed to put your custom themes modules and libraries. "Normal", unforked contributed modules, themes and libraries should be put in the project.make file (which contains our base Drupal version).

drupal7mongodb's People

Contributors

daniel-platform avatar

Watchers

Patrick Dawkins 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.