Giter VIP home page Giter VIP logo

tama's Introduction

tama

Console tool for Apache Tomcat manager.

About

This tool provides below functions via Tomcat manager.

  • List currently deployed applications
  • Deploy a new application
  • Undeploy an existing application
  • Start an existing application
  • Stop an existing application
  • Reload an existing application

Getting started

Configuration

This tool retrieves Tomcat information from environment variables.

Environment variables Description Example
TOMCAT_HOST Tomcat host URL http://localhost:8080
TOMCAT_USER Tomcat script manager role manager
TOMCAT_PASSWORD Tomcat script manager role password p@ssw0rd

List currently deployed applications

tama list
context path         | status  | session | directory            | version   
/                    | running |       0 | ROOT                 | N/A       
/examples            | running |       0 | examples             | N/A       
/host-manager        | running |       0 | host-manager         | N/A       
/manager             | running |       0 | manager              | N/A       
/docs                | running |       0 | docs                 | N/A       

Deploy a new application

Deploy foo.war to context path /foo without version.

tama deploy --context-path /foo --war-file "/path/to/war/foo.war"

Deploy foo.war to context path /foo with version.

tama deploy --context-path /foo --war-file "/path/to/war/foo.war" --parallel

Undeploy an existing application

Undeploy context path /foo.

tama undeploy --context-path /foo

Undeploy context path /foo with version.

tama undeploy --context-path /foo##00001

Start an existing application

Start context path /foo.

tama start --context-path /foo

Stop an existing application

Stop context path /foo.

tama stop --context-path /foo

Reload an existing application

Reload context path /foo.

tama reload --context-path /foo

tama's People

Contributors

jyuch 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.