https://github.com/docksal/boilerplate-drupal7
Drupal 7 boilerplate project with basic configuration powered by Docksal
https://github.com/docksal/boilerplate-drupal7
Last synced: over 1 year ago
JSON representation
Drupal 7 boilerplate project with basic configuration powered by Docksal
- Host: GitHub
- URL: https://github.com/docksal/boilerplate-drupal7
- Owner: docksal
- Created: 2016-09-08T16:29:44.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-10-03T21:20:48.000Z (almost 3 years ago)
- Last Synced: 2024-05-22T20:25:06.841Z (about 2 years ago)
- Language: PHP
- Homepage: https://docksal.io
- Size: 7.82 MB
- Stars: 13
- Watchers: 5
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docksal powered Drupal 7 Installation
This is a sample vanilla Drupal 7 installation pre-configured for use with Docksal.
Features:
- Vanilla Drupal 7
- `fin init` example
## Setup instructions
### Step 1: Docksal environment setup
**This is a one time setup - skip this if you already have a working Docksal environment.**
Follow [Docksal environment setup instructions](http://docksal.readthedocs.io/en/master/getting-started/env-setup)
### Step 2: Project setup
1. Clone this repo into your Projects directory
```
git clone https://github.com/docksal/boilerplate-drupal7.git drupal7
cd drupal7
```
2. Initialize the site
This will initialize local settings and install the site via drush
```
fin init
```
3. **On Windows** add `192.168.64.100 drupal7.docksal` to your hosts file
4. Point your browser to
```
http://drupal7.docksal
```
## More automation with 'fin init'
Site provisioning can be automated using `fin init`, which calls the shell script in [.docksal/commands/init](.docksal/commands/init).
This script is meant to be modified per project.
Some common tasks that can be handled in the init script:
- initialize local settings files for Docker Compose, Drupal, Behat, etc.
- import DB or perform a site install
- compile Sass
- run DB updates, revert features, clear caches, etc.
- enable/disable modules, update variables values
- run Behat tests