Skip to content

Sync to Quix Cloud

In this section you sync your local project with Quix Cloud.

Log in using the CLI

Log into Quix Cloud using the CLI using the following command:

quix login

If you're not logged into Cloud, you'll be prompted to log in.

Check your context

The context for the CLI is the combination of the portal URL being used, and the environment you're connecting to. You can check this information with the following command:

quix context list

You should be connected to the default context with the Portal URL https://portal-api.platform.quix.io. You can have multiple contexts to enable you to have connections for production and development brokers, and potentially local brokers. See the reference guide for further informatin on more complex setups.

Sync your application

To sync your application, change into the F1 demo data directory and enter:

quix local deploy --push --sync

This updates your quix.yaml project file. The --push option pushes all changes to your Git repository (it is similar to git add, git commit, git push). You can also add a commit message with the --commit-message option if you want. The --sync option ensures your Quix environment is synched with the updated Git repository.

Important

Although you are running this command in an application directory, the command notes any changes outside of the directory, and interactively prompts you to include those changes in the push or not.

See your pipeline running

In Quix Cloud, go to pipeline view, and see your pipeline running, with your F1 demo data source running.

CLI pipeline

Next step