8000 GitHub - josa/teresa-cli: Teresa CLI
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

josa/teresa-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Teresa

Teresa is an extremely simple platform as a service that runs on top of Kubernetes.
This is the CLI to be used in conjunction with the API.

Installation

Run make and copy the teresa binary to a directory in your PATH.

Usage

Steps to setup a new cluster and deploy a new application, assuming you already have the API running:

$ teresa config set-cluster mycluster --server https://myapi.com
$ teresa config use-cluster mycluster
$ teresa login --user myuser@mydomain.com

Create a new team (optional, requires admin privileges):

$ teresa team create myteam
$ teresa team add-user --team myteam --user myuser@mydomain.com

Create web app:

$ teresa app create myapp --team myteam

Create worker app:

$ teresa app create myapp --team myteam --process-type worker

Create the Procfile (optional)

$ cat ./Procfile
web: app.sh

Finally deploy the application

$ teresa deploy /path/to/myapp --app myapp --description "release 1.0"

For further questions, read the help

$ teresa -h

$ teresa [command] --help

About

Teresa CLI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.9%
  • Makefile 0.1%
0