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

https://github.com/docksal/boilerplate-backdrop

Backdrop CMS boilerplate powered by Docksal
https://github.com/docksal/boilerplate-backdrop

backdrop docksal

Last synced: over 1 year ago
JSON representation

Backdrop CMS boilerplate powered by Docksal

Awesome Lists containing this project

README

          

# Docksal powered Backdrop Installation

This is a sample Backdrop CMS installation pre-configured for use with Docksal.

Features:

- Backdrop CMS
- `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](https://docs.docksal.io/getting-started/)

### Step 2: Project setup

1. Clone this repo into your Projects directory

```
git clone https://github.com/docksal/boilerplate-backdrop.git
cd backdrop
```

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 backdrop.docksal.site` to your hosts file

4. Point your browser to

```
http://backdrop.docksal.site
```

## 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, Backdrop, 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

## Bee command included

Backdrop has a command line utility called [Bee](https://github.com/backdrop-contrib/bee).
Bee commands can be run by calling `fin bee [command]`.