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:

Use...

...if you need:

A ScandiPWA front-end

A Magento back-end

It is possible to combine these setups to deploy ScandiPWA in multiple modes:

If you are deploying ScandiPWA on a production server or you would like to develop on a remote server (via SSH, for example), please follow the link below.

pageExisting Magento 2 setup

Storefront mode (CSA)

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 this mode, you are not required to run Magento 2 locally to develop.

When using this mode it is enough to have a ScandiPWA theme powered by CSA (Create ScandiPWA App) to compile it. As a data source, you can use any existing properly configured Magento 2 instance or create a ready Magento 2 instance using RMG (ReadyMage).

pageStorefront Mode Setup

Magento theme mode (CSA + CMA)

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.

In this mode, you are required to run Magento 2 locally to develop.

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.

pageMagento Mode Setup

Last updated