Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/weknowinc/drupal.develop


https://github.com/weknowinc/drupal.develop

Last synced: 15 days ago
JSON representation

Awesome Lists containing this project

README

        

drupal.develop
--

## Project dependencies
* [git](https://git-scm.com/)
* [docker](https://www.docker.com/)
* [ahoy (ver 2)](https://github.com/ahoy-cli/ahoy)

## Project setup
```
# Clone repository
git clone [email protected]:weknowinc/drupal.develop.git

# Copy .env file
cp .env.dist .env

# Add hostname entry in your /etc/hosts file
127.0.0.1 drupal.develop

# Start containers
ahoy up
```

## Sync Project
```
# Switch develop branch
git checkout master

# Fetch latest changes
git fetch upstream

# Merge changes locally
git merge upstream/master

# Sync forked repo
git push origin/master

# Download new dependencies
ahoy composer install

# Build Drupal site
ahoy drupal build:develop

# Create branch
git checkout -b BRANCH_NAME

# Add file changes
git add -p

# Commit changes
git commit -m MESSAGE_SUBJECT

# Push code to repository
git push origin BRANCH_NAME
```

## Using Composer
```
ahoy composer install

ahoy composer require drupal/MODULE_NAME

ahoy composer remove drupal/MODULE_NAME
```

## Export Configuration
```
# Using default drupal config system
ahoy drupal config:export --no-interaction

# Using config_split
ahoy drupal config_split:export --no-interaction
```