0

I have cloned the git on my local system, Now how to run the commands for cloud site. How to do this?

As I have CLI for this, But I don't know how I can use this?

Please suggest me for the same.

Thanks

asked Mar 20, 2020 at 10:29

1 Answer 1

0

Install the magento-cloud CLI.

curl -sS https://accounts.magento.cloud/cli/installer | php

Add magento-cloud CLI to the bash profile.

export PATH=$PATH:$HOME/.magento-cloud/bin

Consult operating system documentation for details.

Reload the updated bash profile.

. ~/.bash_profile

To initiate the CLI, call magento-cloud and enter your Cloud account credentials when prompted.

magento-cloud
Welcome to Magento Cloud!
Please log in using your Magento Cloud account.
Your email address or username:

Verify the magento-cloud command is in your path. The following example lists the available commands.

magento-cloud list

source : https://devdocs.magento.com/cloud/reference/cli-ref-topic.html

answered Nov 11, 2020 at 20:04

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.