With Copilot
Acquia Copilot is a conversational AI connected into our product documentation and knowledge base. Ask Copilot about product features, technical details, troubleshooting and how to get started with Acquia products.
Sign in to use Acquia Copilot
This page describes how to develop a Drupal site in your local system or Cloud IDE by using Drupal Starter Kits. It also explains how to deploy the site to environments running on Cloud Next technologies.
To deploy code changes from your local system to Cloud Next, you must install Acquia CLI. For more information, see Acquia CLI installation. However, if you are using Cloud IDE, you do not need to install Acquia CLI as it is pre-installed in Cloud IDE.
After you install Drupal Starter Kits by using one of the available starter kits, you can start developing your Drupal site.
To develop your Drupal Starter Kits-flavored Drupal site from your local system or Cloud IDE:
To configure the settings.php file:
settings.php writable.Remove the following code snippet:
$databases['default']['default'] = array (
'database' => 'drupal',
'username' => 'drupal',
'password' => 'drupal',
'prefix' => '',
'host' => '127.0.0.1',
'port' => '3306',
'namespace' => 'Drupal\\mysql\\Driver\\Database\\mysql',
'driver' => 'mysql',
'autoload' => 'core/modules/mysql/src/Driver/Database/mysql/',
);Add the following require line:
if (file_exists('/var/www/site-php')) {
require '/var/www/site-php/eejohngalvin/eejohngalvin-settings.inc';
}You can get this require line from the Cloud Platform user interface.
Obtaining require line
To set up the Cloud Next Git remote:
Run the following commands sequentially:
git init
git remote add origin <remote_URL>Setting remote
Note
git init command in Cloud IDE.To commit code to the branch:
Run the following commands sequentially:
git checkout -b branch
git add .
git commit -m "Initial Commit"
git push origin branchIf this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.