https://github.com/ijortengab/drupal-autoinstaller
Drupal autoinstaller
https://github.com/ijortengab/drupal-autoinstaller
drupal
Last synced: 2 months ago
JSON representation
Drupal autoinstaller
- Host: GitHub
- URL: https://github.com/ijortengab/drupal-autoinstaller
- Owner: ijortengab
- License: mit
- Created: 2022-10-24T20:06:16.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-07-31T10:03:12.000Z (11 months ago)
- Last Synced: 2025-07-31T13:55:29.947Z (11 months ago)
- Topics: drupal
- Language: Shell
- Homepage:
- Size: 497 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Drupal Auto Installer
The extension of `rcm`.
## Prerequisite
Login as root.
```
su -
```
If you start from empty virtual machine instance, it is recommend to upgrade
then restart machine to avoid interruption because of kernel update.
```
apt update -y
apt upgrade -y
init 6
```
Make sure `wget` command is exist.
```
apt install -y wget
```
## Install
### rcm
Download `rcm` from Github.
```
wget git.io/rcm
chmod a+x rcm
```
You can put `rcm` file anywhere in `$PATH`:
```
mv rcm -t /usr/local/bin
```
Always fast.
```
alias rcm='rcm --fast'
```
### rcm-drupal
Install `drupal` extension.
```
rcm install drupal
```
Enter value for `--url` option:
```
https://github.com/ijortengab/drupal-autoinstaller
```
Skip value for `--path` option. We use the default value.
## How to Use
Feels free to execute `drupal` command. You will be prompt to some required value.
```
rcm drupal
```
## Tips 1
Update if necessary.
```
rcm update drupal
```
## Tips 2
Install the additional extension.
```
rcm install drupal-adjust-file-system-outside-web-root --source drupal
```
Just execute.
```
rcm drupal-adjust-file-system-outside-web-root
```
Update if necessary.
```
rcm update drupal-adjust-file-system-outside-web-root
```
Bulk for all project.
```
while read project_name; do
while read domain; do
echo -ne "\e[93m"'# Execute:'"\e[39m" "\n"
echo -ne "\e[95m"rcm drupal-adjust-file-system-outside-web-root -- --project-name $project_name --domain $domain -- "\e[39m" "\n\n"
INDENT=' ' rcm drupal-adjust-file-system-outside-web-root -- --project-name $project_name --domain $domain --
done <<< `ls-drupal $project_name`
done <<< `ls-drupal`
```
## Tips 3
There are two additional commands for you.
```
ls-drupal
```
```
. cd-drupal
```
Select the projects, then run drush.
```
drush status
```