Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/weknowinc/drupal.develop
https://github.com/weknowinc/drupal.develop
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/weknowinc/drupal.develop
- Owner: weknowinc
- License: gpl-2.0
- Created: 2018-07-09T21:28:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T16:21:40.000Z (about 2 years ago)
- Last Synced: 2023-03-08T21:42:59.647Z (almost 2 years ago)
- Language: PHP
- Size: 312 KB
- Stars: 3
- Watchers: 1
- Forks: 5
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 installahoy 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
```