Code Monkey home page Code Monkey logo

vcli's Introduction

travis

Vorteil Command-Line Interface (part of the Vorteil ecosystem)

License: Apache 2.0

The Vorteil Command-Line Interface (vcli) is the only tool you'll ever need to develop, test, build, and deploy vorteil-os applications for the cloud.

Installation

Linux
Method 1 -- apt-get

The easiest way to download vcli for Linux is to get it from our debian repository. This method also automatically installs man-pages and bash autocompletion scripts.

First, add the Sisa-Tech public repository to your list of repositories.

$ echo "deb https://sisatech.bintray.com/deb dev main" | sudo tee -a /etc/apt/sources.list

In case of an error message, Sisa-Tech's public keys may need to be added.

$ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 379CE192D401AB61

Next, simply apt-get vcli.

$ apt-get install vcli

Once you're done, you can test the installation by using the following command. If it returns the correct version you downloaded the vcli is ready and working!

$ vcli --version
Method 2 -- manual install

Download the latest Linux executable from the Releases section on this repository, or from the download links on our website. Then, ensure vcli can be found on the PATH by either added a new entry to your PATH environment variable or by placing vcli in a location that is already on it. We recommend adding a similar line to the following to your .profile file to make the change persistent:

export PATH=$PATH:path_to_folder_containing_vcli

Once you're done, you can test the installation by using the following command. If it returns the correct version you downloaded the vcli is ready and working!

$ vcli --version
Mac

Download the latest Darwin executable from the Releases section on this repository, or from the download links on our website. Then, ensure vcli can be found on the PATH by either added a new entry to your PATH environment variable or by placing vcli in a location that is already on it. We recommend adding a similar line to the following to your .profile file to make the change persistent:

export PATH=$PATH:path_to_folder_containing_vcli

Once you're done, you can test the installation by using the following command. If it returns the correct version you downloaded the vcli is ready and working!

$ vcli --version
Windows

Download the latest Windows executable from the Releases section on this repository, or from the download links on our website. Then, ensure vcli.exe can be found on the PATH by either adding a new PATH entry or by placing vcli.exe in a location that is already on it.

Once you're done, you can test the installation by using the following command. If it returns the correct version you downloaded the vcli is ready and working!

$ vcli --version

Quickstart

Check out our quickstart guide to start using vcli and see for yourself what it can do!

Compiling vcli

Compiling vcli isn't as simple as running 'go build', but it's still a straightforward process. The following steps illustrate how to do it on a Linux system:

Clone this repository into the correct location on your $GO_PATH using either git's clone command or go's get command.

$ go get -d github.com/sisatech/vcli

Change your working directory to the root directory of this repository.

$ cd $GO_PATH/src/github.com/sisatech/vcli

Create a build directory for cmake to use.

$ mkdir build && cd build

Use cmake to retrieve dependencies and setup the makefile.

$ cmake ..

Finally, run the makefile.

$ make

There should now be a 'vcli' binary in your build directory. You've just successfully compiled vcli!

You can also use the makefile to install vcli onto your system, adding it to your path and installing bash autocompletion scripts and man pages. You'll need to log off your current session after running the command to get the full functionality.

This command will usually require superuser access to work. If you use 'sudo', you may need to add '-E' before the command to ensure go runs correctly.

$ make install-vcli

vcli's People

Contributors

alankm avatar

Watchers

 avatar

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.