Este é o projeto é a aplicação back-end do portal Institucional Equatorial com a finalidade de realizar a gestão de conteúdo e fornecer APIs para o front-end em React.
This guide will walk you through the steps to install and set up a Drupal project using DDEV.
First, clone the repository from IBM Cloud:
git clone https://us-south.git.cloud.ibm.com/equatorial-one/institucional-drupal
cd institucional-drupal
git checkout develop
Follow the instructions to install DDEV on your device: DDEV Installation Guide
At the root of the cloned repository, run the following command to configure DDEV:
ddev config
Follow the instructions:
drupal10
as the default config.This will create a folder called .ddev
.
Locate the file .ddev/config.yaml
and scroll down to lines 43 and 44 (or around there). Look for router_http_port
and router_https_port
. Uncomment the lines and change the ports to avoid conflicts:
router_http_port: 5353 # Port to be used for http (defaults to global configuration, usually 80)
router_https_port: 444 # Port for https (defaults to global configuration, usually 443)
At the root of the project, run:
composer install
Start the project with:
ddev start
This will start a blank Drupal project. Access the given URL and proceed with the installation of the blank Drupal project.
Once your Drupal instance is installed and running, enable the backup_migrate
module:
ddev drush en backup_migrate
To access the admin screen, either go to /user/
URL or run the following command to generate a login URL:
ddev drush uli
Go to the Backup and Migrate restore menu at /admin/config/development/backup_migrate/restore
and upload the current backup.
Unzip the files folder in /sites/default/
and check if it has unzipped correctly.
By following these steps, you should have a Drupal project set up and running with the necessary configurations. If you encounter any issues, refer to the DDEV and Drupal documentation for further assistance.