srijanone/ezdevportal-project

Project creator for EzDevPortal Distribution.

Installs: 105

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:composer-plugin

2.0.0 2023-08-31 09:49 UTC

This package is auto-updated.

Last update: 2024-05-08 11:00:02 UTC


README

Prerequisites

- PHP >= 8.0
- MariaDB 10.3.7+
- MySQL 5.7.8+
- Composer = 2.*

EzDevPortal utilizes composer to manage its dependencies. So, before using EzDevPortal, make sure you have composer installed on your machine.

Installation from source

git clone git@github.com:srijanone/ezdevportal-project.git
cd ezdevportal-project
composer install

Installation via composer

  • Choose a name for your project, like “MY_PROJECT”
  • Use the given command to create the project
  • The command will download Drupal core along with necessary modules, EzDevPortal profile, and all other dependencies necessary for the project
composer create-project srijanone/ezdevportal-project
MY_PROJECT --no-interaction

In case you come across any memory issues, run this command -

php -d memory_limit=-1 /path/to/composer.phar create-project
srijanone/ezdevportal-project MY_PROJECT --no-interaction

You can install the site either through drush or using GUI method.

Drush method

Navigate to the project root through terminal and execute the following command:

./vendor/bin/drush si ezdevportal
--db-url='mysql://{mysql_user}:{mysql_password}@{mysql_host}/{db_name}'
--site-name='EzDevPortal' --account-name='Srijan'
--account-pass='Admin@123'  --account-mail='admin@example.com' -y

GUI Method

Setup a local environment using either docker(ddev, lando etc.) or LAMP stack.

Run the normal drupal GUI installation process. You can choose to install the demo module during installion or you can install it later from extend page or using drush.

Clear the drupal cache after installing the demo module.