Giter Site home page Giter Site logo

hedley's Introduction

Build Status

Drupal 7 - Install Profile Hedley

This is a starting base to create Drupal 7 websites using an install profile.

Installation

Warning: you need to setup Drush first or the installation and update scripts will not work.

Clone the project from GitHub.

Create config file

Copy the example configuration file to config.sh:

$ cp default.config.sh config.sh

Edit the configuration file, fill in the blanks.

Run the install script

Run the install script from within the root of the repository:

$ ./install

You can login automatically when the installation is done. Add the -l argument when you run the install script.

$ ./install -l

Configure web server

Create a vhost for your webserver, point it to the REPOSITORY/ROOT/www folder. (Restart/reload your webserver).

Add the local domain to your /etc/hosts file.

Open the URL in your favorite browser.

Reinstall

You can Reinstall the platform any type by running the install script.

$ ./install

The install script will perform following steps:

  1. Delete the /www folder.
  2. Recreate the /www folder.
  3. Download and extract all contrib modules, themes & libraries to the proper subfolders of the profile.
  4. Download and extract Drupal 7 core in the /www folder
  5. Create an empty sites/default/files directory
  6. Makes a symlink within the /www/profiles directory to the /hedley directory.
  7. Run the Drupal installer (Drush) using the Hedley profile.

Warning!

  • The install script will not preserve the data located in the sites/default/files directory.
  • The install script will clear the database during the installation.

You need to take backups before you run the install script!

Upgrade

It is also possible to upgrade Drupal core and contributed modules and themes without destroying the data in tha database and the sites/default directory.

Run the upgrade script:

$ ./upgrade

You can login automatically when the upgrade is finished. Add the -l argument when you run the upgrade script.

$ ./upgrade -l

The upgrade script will perform following steps:

  1. Create a backup of the sites/default folder.
  2. Delete the /www folder.
  3. Recreate the /www folder.
  4. Download and extract all contrib modules, themes & libraries to the proper subfolders of the profile.
  5. Download and extract Drupal 7 core in the /www folder.
  6. Makes a symlink within the /www/profiles directory to the /hedley 7. directory.
  7. Restore the backup of the sites/default folder.

hedley's People

Contributors

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