Create Magento App
Create ScandiPWA AppScandiPWA DocsGitHub
v1
v1
  • Create Magento App
  • Getting started
    • Getting Started
    • Prerequisites
      • Linux requirements
      • MacOS requirements
        • Apple Silicon
      • Windows requirements
    • Available commands
      • Start the application
      • Stop the application
      • Check application status
      • Enter application CLI
      • Explore application logs
      • Execute commands in Docker containers
      • Link a theme
      • Import database dump
      • ⚠️ Uninstall a project
    • Folder structure
    • Updating to New Releases
      • Testing Alpha Releases
    • Configuration File
    • Supported Magento versions
    • How does it work?
    • Limitations
  • Usage guide
    • Using console commands
    • Accessing Docker containers
    • Linking a Scandi Theme
    • Enabling XDebug
    • Enabling SSL
    • Configuring PHP
    • Use custom domain
    • Access on the local network
    • Importing database
      • Importing remote database
    • Using Enterprise Edition
    • Converting legacy Docker setup to CMA
    • Improve Performance
  • Scripts Extensions
    • PHP Extensions
      • ionCube Extension
  • Troubleshooting
    • Common Issues
    • CMA Debugging
    • Uninstall CMA
Powered by GitBook
On this page
  1. Getting started

Folder structure

Previous⚠️ Uninstall a projectNextUpdating to New Releases

Last updated 2 years ago

After creation, your project should look like this:

├── 📁 node_modules
├── 📄 package.json
└── 📄 README.md

Looks empty, isn't it? Well, that is because we haven't installed Magento 2 yet.

To install Magento 2 you need to bootstrap the project with command.

After Magento 2 installation folder structure should look

├── 📁 app
├── 📁 bin
├── 📁 dev
├── 📁 generated
├── 📁 lib
├── 📁 node_modules
|  ├── 📁 .create-magento-app-cache
|  |  ├── 📁 composer
|  |  |  └── 📄 composer.phar
|  |  ├── 📁 nginx
|  |  |  └── 📁 conf.d
|  |  |     └── 📄 default.conf
|  |  ├── 📄 port-config.json
|  |  └── 📄 php-fpm.conf
|  ... 📁 other packages
├── 📁 phpserver
├── 📁 pub
├── 📁 setup
├── 📁 var
├── 📁 vendor
├── 📄 ... Magento 2 files
├── 📄 cma.js
├── 📄 package.json
└── 📄 README.md
  • Composer itself.

  • PHP-FPM configuration file.

  • Nginx configuration file.

  • Port configuration file.

In your projects root directory also will be created cma.js file that contains CMA configuration: Magento configuration, Docker services configuration, host and SSL configuration.

If you are upgrading an existing CMA project, old Magento configuration from app-config.json file inside cache folder will be converted to magento field in cma.js file.

Inside node_modules there is .create-magento-app-cache folder. It contains all configuration files and a local instance of :

start
Composer