Installation

Requirements

Installation

  1. Install a new Laravel project, replacing SITE_NAME is the name of your site.

    composer create-project --prefer-dist laravel/laravel=^6.2 SITE_NAME
    
  2. Add the Yadda repository to your projects composer.json so that we can install Enso

    "repositories": [
       {
           "type": "composer",
           "url": "https://packages.maya.agency"
       }
    ]
    
  3. Install Enso

    composer require yadda/enso-core yadda/enso-utilities yadda/enso-analytics
    
  4. Fill in details in .env.

  5. Publish vendor assets

    php artisan vendor:publish --all
    
  6. Run the Enso install script

    php artisan enso:install
    
  7. Compile your frontend assets

    yarn run dev
    
  8. You should now be able to use your site!

You might also want to...

Development

If you're developing enso-core you can use the following to load your packages from a local directory.

"repositories": [
    {
        "type": "path",
        "url": "./packages/yadda/enso-core"
    },
    {
        "type": "path",
        "url": "./packages/yadda/enso-utilities"
    }
]