Setting up Scandi
Learn about different installation modes
ScandiPWA recommends developing applications locally. We have created two tools in order to make this process of installation smooth. They are as follows:
It is possible to combine these setups to deploy ScandiPWA in multiple modes:
In Standalone storefront mode - the front-end is running on a small separate server and uses a remote Magento 2 instance as the source for the data.
In Magento 2 theme mode - the front-end is statically compiled and served by Magento 2 server. In this case, data comes directly from the same server the application is hosted on.
When developing a Magento 2 theme, the local installation of Magento 2 is required. In order to simplify the local Magento 2 installation, we created CMA (Create Magento App) toolchain, with a goal to start a Magento 2 instance with a single command. The CSA (Create ScandiPWA App) toolchain will still be used to compile a theme.