Giter Club home page Giter Club logo

Magento 2.4.5 Magento Commerce Cloud

This repository contains a sample Magento Commerce (on-premise) version 2.4.5 instance for you to deploy in the cloud. You must have an active Magento Commerce Cloud user license to use the example in this repository.

The example requires the use of Composer to load and manage dependencies and Magento vendor folders.

Authentication

You must have an authentication key to access the Magento Commerce repository and to enable install and update commands for your Magento Commerce Cloud project. The following method is best to prevent accidental exposure of credentials, such as pushing an auth.json file to a public repository. If you plan to use Docker for your local development, then jump to the Authenticating in Docker section.

To add authentication keys using an environment variable:

  1. In the Project Web UI, click the configuration icon in the upper left corner.

  2. In the Configure Project view, click the Variables tab.

  3. Click Add Variable.

  4. In the Name field, enter env:COMPOSER_AUTH.

  5. In the Value field, add the following and replace <public-key> and <private-key> with your Magento Commerce Cloud authentication credentials.

    {
       "http-basic": {
          "repo.magento.com": {
          "username": "<public-key>",
          "password": "<private-key>"
        }
      }
    }
  6. Select Visible during build and deselect Visible at run.

  7. Click Add Variable.

See Adding Magento authentication keys.

Authenticating in Docker

You must have an auth.json file that contains your Magento Commerce authorization credentials in your Magento Commerce Cloud root directory.

  1. Using a text editor, create an auth.json file and save it in your Magento root directory.

  2. Replace and with your Magento Commerce authentication credentials.

    {
      "http-basic": {
        "repo.magento.com": {
          "username": "<public-key>",
          "password": "<private-key>"
        }
      }
    }
  3. Save your changes to auth.json file and exit the text editor.

To use Docker for local development, see Launching a Docker configuration.

Repository structure

The following is a list of the specific files required for this example to work in the Magento Commerce Cloud:

.magento/
        /routes.yaml
        /services.yaml
.magento.app.yaml
auth.json
composer.json
magento-vars.php
php.ini
  • .magento/routes.yaml—redirects www to the naked domain and php application to serve HTTP.
  • .magento/services.yaml—sets up a MySQL instance, including Redis and ElasticSearch.
  • composer.json—fetches the Magento Enterprise Edition and configuration scripts to prepare your application.

Developer documentation

See the Magento Commerce Cloud Guide.

License

Each Magento source file included in this distribution is licensed under the OSL-3.0 license.

Please see LICENSE.txt for the full text of the Open Software License v. 3.0 (OSL-3.0).

magento-cloud's Projects

ece-tools icon ece-tools

All Submissions you make to Magento Inc. (“Magento") through GitHub are subject to the following terms and conditions: (1) You grant Magento a perpetual, worldwide, non-exclusive, no charge, royalty free, irrevocable license under your applicable copyrights and patents to reproduce, prepare derivative works of, display, publically perform, sublicense and distribute any feedback, ideas, code, or other information (“Submission") you submit through GitHub. (2) Your Submission is an original work of authorship and you are the owner or are legally entitled to grant the license stated above. (3) You agree to the Contributor License Agreement found here: https://github.com/magento/magento2/blob/master/CONTRIBUTOR_LICENSE_AGREEMENT.html

magento2-s3 icon magento2-s3

Use Amazon S3 as the file storage solution for your Magento 2 application

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.