Application root directory
The location of the application root directory depends on the environment.
- Starter and Pro Integration:
/app
- Starter Production:
/<project-ID>
- Pro Staging:
/<project-ID>_stg
- Pro Production:
/<project-ID>
Writable directories
The remote Integration, Staging, and Production environments are read only. The following directories are the only writable directories for security reasons:
var
pub/static
pub/media
app/etc
/tmp
/tmp
directory that is not shared with the other nodes.Ignore files
There is a base .gitignore
file with the Adobe Commerce on cloud infrastructure project repository. See the latest .gitignore file in the magento-cloud repository. To add a file that is in the .gitignore
list, you can use the -f
(force) option when staging a commit:
git add <path/filename> -f
Change base template
You can use the following steps to change the structure of an existing project to reflect the latest base template for Adobe Commerce on cloud infrastructure.
-
Clone the project to a local workstation.
-
Update the
composer.json
file with the following values for theextra
section."extra": { "magento-force": true "magento-deploystrategy": "copy" }
-
Add the
.gitignore
file designed for the base template. For example, if you need the.gitignore
file for the version 2.2.6 template, use the .gitignore for 2.2.6 file as a reference. -
Clear the git cache.
git rm -r --cached .
-
Add and commit changes.
git add -A && git commit -m "Update base template"
B2B Reimagined: Transforming Go-to-Market Strategies for Profitable Growth
B2B brands are facing a digital revolution. Buyers expect hyper-relevant content and self-service, while internally AI is transforming...
Wed, Mar 19, 1:00 PM PDT (8:00 PM UTC)
Put the Customer at the Center and Build Relationships That Last a Lifetime
First impressions last a lifetime. Great first impressions feel personal, connected, and relevant right from the start. From the first...
Wed, Mar 19, 2:30 PM PDT (9:30 PM UTC)
Connect with Experience League at Summit!
Get front-row access to top sessions, hands-on activities, and networking—wherever you are!
Learn more