Created
February 24, 2020 20:20
-
-
Save tayyebi/0c1a75f7750dd3b3bd026b5811b9d42c to your computer and use it in GitHub Desktop.
@arvancloud Paas CLI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Command line notes of ArvanCloud.com Paas cli | |
| # until this moment, there isn't a reliable documentation for ArvanCloud PaaS | |
| # this is based on experiments | |
| # Download Arvan CLI | |
| wget https://napi.arvancloud.com/paas/v1/regions/ir-thr-mn1/downloads/cli/linux/arvan | |
| # Move it to /opt | |
| mv arvan /opt | |
| # Set execute permissions | |
| chmod +x /opt/arvan | |
| # Edit your bash to set alias | |
| sudo vi ~/.bashrc | |
| # Add lines to the file: | |
| alias ap='/opt/arvan paas' | |
| # Reload the .bashrc file | |
| source ~/.bashrc | |
| # To create a project (which contains apps) | |
| # There are two ways: | |
| # 1- Use arvan cloud website; | |
| # 2- | |
| ap new-project "projectname" | |
| # Check your projects | |
| ap get projects | |
| # Delete a project | |
| ap delete project "projectname" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment