Installing

Before installing, ensure that you are using a clean install of Statamic. You can learn how to set this up locally. Skip the step where Statamic asks if you want to install a starterkit. Gaia is packaged as an addon, so we'll install it later.

It's also highly recommended that you use version control (git) before installing Gaia so you can track your changes and roll back if something goes wrong.

#1. Installing Gaia

You can install Gaia with Composer:

composer require arrowtide/gaia

This will also install the following dependencies:

#2. Running the Install Command

To streamline setup, use Gaia's built-in install command. This will automatically transfer all relevant template files to the correct directories:

php artisan gaia:install

#3. Set up search

To get live search up and running we first need to head over to the config/statamic/search.php and add the following indexes configuration:

    'indexes' => [
        'live-search' => [
            'driver' => 'local',
            'searchables' => ['collection:shop', 'collection:products'],
            'fields' => ['title', 'collections'],
        ],
    ],

You can read more about Statamic search indexes here.

#4. Set up currency

Head over to config/gaia.php and set default_currency to your desired currency code. The code should be a valid ISO 4217 currency code.

If you're building a multisite store you can follow these instructions instead.

#5. Set up the Shopify addon

You're now ready to set up the Shopify addon. It is already installed, so you can skip the composer require statamic-rad-pack/shopify step.

Please follow these steps.