Install Cloudoor's Command-line: DOORCTL¶
The Cloudoor command-line tool, doorctl, allows users to perform actions on the Cloudoor platform.
You can install the CLI with either:
-
A curl script
-
Brew or you can
-
Download binaries from the releases page.
Once installed, you'll get the door command.
Option 1: Install with curl¶
Option 2: Install with brew on MacOS¶
Option 3: Install from the Release.¶
On the door release page, download the version needed, unarchive it, and move the binary to your system PATH.
For DOOR version v2.0.2 on MacOs:
wget https://github.com/beopencloud/cno/releases/download/v2.0.2/cnoctl_Darwin_x86_64.tar.gz
tar -xzf cnoctl_Darwin_x86_64.tar.gz
mv door /usr/local/bin/
For DOOR version v2.0.2 on Ubuntu:
wget https://github.com/beopencloud/cno/releases/download/v2.0.2/cnoctl_Linux_x86_64.tar.gz
tar -xzf cnoctl_Linux_x86_64.tar.gz
mv door /usr/local/bin/
Verify door Installation.
To check if door is correctly installed, use the command help:
Now that everything is set up, you can log in. If you are logging in to Door Africa run this command:
doorctl config --server-url https://api.door.africa --organization <Organization Name>
doorctl login
If you are logging in to Cloudoor run this command:
doorctl config --server-url https://api.apps.gocno.io --organization <Organization Name>
doorctl login
You can also use the UI to do this by clicking the Link Icon next to your profile icon.
Further research¶
- A tutorial of Clusters: Cluster's Tutorial
- A tutorial for onboarding Projects and Teammates: Onboard Projects and Teammates
- Getting Started: Quick Start