ycloudyusa/yusaopeny

YMCA Website Services Drupal distribution

Installs: 38 026

Dependents: 12

Suggesters: 0

Security: 0

Stars: 6

Watchers: 4

Forks: 112

Open Issues: 12

Type:drupal-profile

10.3.3.5 2024-09-17 14:18 UTC

This package is auto-updated.

Last update: 2024-11-09 08:23:13 UTC


README

react-router

YMCA’s Website Service

https://ycloud.y.org/open-y-association-websites

An open-source platform for YMCAs, by YMCAs, built on Drupal.

The Y USA Website Services Project is a composer-based installer for the Y USA Website Services distribution.

Requirements

Composer

If you do not have Composer, you may install it by following the official instructions. For usage, see the documentation.

Installation

Clean install

If you are using internal tooling or only want the required code with no development environment, follow these steps.

Latest STABLE version

composer create-project ycloudyusa/yusaopeny-project MY_PROJECT --no-interaction
cd MY_PROJECT

Latest DEVELOPMENT version (Drupal 10+ 2.x)

composer create-project ycloudyusa/yusaopeny-project:dev-main-development MY_PROJECT --no-interaction --no-dev
cd MY_PROJECT

This command will build a project based on the Drupal 9/10 development branch release.

See a how-to video for the whole process of this command usage.

Development environment

To get an environment that was configured especially for development with the distribution, remove --no-dev from the composer command.

So it should look like this:

composer create-project ycloudyusa/yusaopeny-project:dev-main-development MY_PROJECT --no-interaction
cd MY_PROJECT

See a how-to video for the whole process of this command usage.

Docksal

Docksal is a tool for defining and managing development environments.

Read more details on Docksal repo.

Drupal install

The distribution has a full user interface for step-by-step installation. Simply visit your site after building your dev environment to be taken through the installation process.

For developers who want a kick-start, you can pass many configuration options in the install process through to drush site:install.

For example, a "complete" install with the "Carnation" theme might look like:

drush -vy si openy openy_configure_profile.preset=complete openy_theme_select.theme=openy_carnation openy_terms_of_use.agree_openy_terms=1 install_configure_form.enable_update_status_emails=NULL --account-name=admin --site-name='YMCA Website Services sandbox'

Use Fork for the development

All development happens in the Website Services Drupal 9/10 installation profile. To start development:

  1. Create a fork of Website Services installation profile
  2. Add your repository to composer.json
"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/GITHUB_USERNAME/yusaopeny"
    }
]
  1. Change a version for ycloudyusa/yusaopeny to dev-main or any other branch. E.g.:
  • branch name "bugfix" - version name dev-bugfix
  • branch name "feature/workflow" - version name dev-feature/workflow
"require": {
    "ycloudyusa/yusaopeny": "dev-main",
}
"require": {
    "ycloudyusa/yusaopeny": "dev-feature/workflow",
}
  1. Run composer update to update packages
  2. Add and commit changes in docroot/profiles/contrib/openy. Now it should be pointed to your fork.

Directory structure

Documentation

Documentation about Website Services is available at docs. For details please visit https://ycloud.y.org/open-y-association-websites.

License

Y USA OpenY Project is licensed under the GPL-3.0. See the License file for details.