Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shoov/shoov

UI regression and functional testing on dev and live sites
https://github.com/shoov/shoov

Last synced: 9 days ago
JSON representation

UI regression and functional testing on dev and live sites

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/shoov/shoov.svg?branch=master)](https://travis-ci.org/shoov/shoov)

# Drupal 7 - Install Profile Shoov

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

## Installation

**Warning:**
You need to setup [Drush](https://github.com/drush-ops/drush) and also setup [composer](https://getcomposer.org/doc/00-intro.md#globally) globally. first or the installation and update scripts will not work.

Clone the project from [GitHub](https://github.com/shoov/shoov).

#### 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 /shoov
directory.
7. Run the Drupal installer (Drush) using the Shoov 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
/shoov 7. directory.
7. Restore the backup of the sites/default folder.