Download the PHP package brainsum/damo-project without Composer
On this page you can find all versions of the php package brainsum/damo-project. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download brainsum/damo-project
More information about brainsum/damo-project
Files in brainsum/damo-project
Package damo-project
Short Description Template for creating DAMo projects with composer.
License GPL-2.0-or-later
Informations about the package damo-project
DAMo - Composer template
Composer template to kickstart Digital Assets Management projects.
This template was based on the following:
Installation
Note: These commands have been tested on linux (ubuntu), they might need changes to work on other systems.
Native composer
For the latest release:
For a specific release:
Composer in docker
For the latest release:
For a specific release:
Note: The wodby/drupal-php image is just an example.
Note: Using an image with the hirak/prestissimo
composer package will speed up the process, although it also might break things (see: https://github.com/drupal-composer/drupal-scaffold/issues/101).
Setup
(Optional) Docker-compose
If you want to use docker-compose for development, you should copy example.env
as .env
, e.g cp example.env .env
. Update its contents as required.
For starting and stopping the environment you can use the helper scripts provided with the project (startup.sh
and shutdown.sh
). These also look for a docker-compose.local.yml
file so you can version control a generic config file and do local overrides (e.g ports, mounts).
Drush
Copy drush/example.drush.yml
as drush/drush.yml
. Update its contents as required.
Filesystem permission fixes
E.g on linux, you must fix file and directory permissions as well, e.g for "private_files", "web/sites/default/files", "tmp", ...
Install
Use drush site-install --account-pass=somestrongpass [email protected] --site-name=DAMo damo -y
You also might want to add --account-name
and --account-mail
.
Usage
Main site
Upload your assets and that's it. You can download them, images can be styled for social media purposes, logo can be added, etc.
API
The JSON:API module has been enabled, so you can serve your assets through that. An example would be using the FileField Sources JSON API module that allows you to configure file fields to allow downloading files from DAMo directly via the API.
Development
For development info see the DEVELOPMENT.md file.
All versions of damo-project with dependencies
brainsum/damo-distribution Version >=0.26 <1.0
composer/installers Version ^1.2
cweagans/composer-patches Version ^1.6
drupal/core-composer-scaffold Version ^8.8
drupal/core-project-message Version ^8.8
drupal/core-recommended Version ^8.8
drush/drush Version ^9.0|^10.0
oomphinc/composer-installers-extender Version ^1.1
vlucas/phpdotenv Version ^2.4