Scaffold a Drupal site template
Project description
Template scripts
init-drupal
Requires Python 3.
Usage
usage: init-drupal [-h] [--directory DIRECTORY] [--description DESCRIPTION]
[--core-package {core,recommended}] [--docroot DOCROOT]
[--force] [--no-install] [--cache CACHE]
name
Scaffold a Drupal site template
positional arguments:
name Name of your application package (e.g.,
axelerant/site)
optional arguments:
-h, --help show this help message and exit
--directory DIRECTORY, -d DIRECTORY
Directory where the files should be set up (e.g.,
drupal). The directory will be emptied.
--description DESCRIPTION, -D DESCRIPTION
Description of the package
--core-package {core,recommended}, -c {core,recommended}
Select the core package
--docroot DOCROOT, -r DOCROOT
The document root
--force, -f Force delete the "drupal" directory if it exists
--no-install Do not run composer install
--cache CACHE Add a cache service (either redis or memcache)
Example
init-drupal axelerant/site --cache redis --c core
The above command will generate a composer.json and in a drupal directory and run composer install. It will use the regular drupal/core package along with the Redis module and few other packages.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
axl-template-0.0.1.tar.gz
(4.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file axl-template-0.0.1.tar.gz.
File metadata
- Download URL: axl-template-0.0.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04352aad0e8f13f5bdf7d02607db33d45a016abb2c4eed499ba84ad767813a53
|
|
| MD5 |
1907b542645c450dfce1b640c4ef2d0b
|
|
| BLAKE2b-256 |
472205d90c1ed917f268baa1becd20e9cacfa7629b8e2f61281e3c2478c143af
|
File details
Details for the file axl_template-0.0.1-py3-none-any.whl.
File metadata
- Download URL: axl_template-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba03a2f4681cd0729f71fdcdc98a808aaf61996ae056294fcc3979e9188566a5
|
|
| MD5 |
c883d4bdb4c51b4b356f8b0983b8e545
|
|
| BLAKE2b-256 |
38eb39fa6759e3ca6d285c61a5634148b72ce9115e63267f7a1ac85ec3e542a7
|