yahaosoft / apjp

Automatically exported from code.google.com/p/apjp
0 stars 0 forks source link

有关 CloudFoundry 平台的问题 #66

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
请教,在 成功 部署 应用 以后,如何 查询 或者 删除 应用?

Original issue reported on code.google.com by catlin...@gmail.com on 17 Apr 2012 at 12:27

GoogleCodeExporter commented 9 years ago
http://docs.cloudfoundry.com/tools/deploying-apps.html

CloudFoundry 官方文档中就有说明, 希望能看懂! :P

抱歉没有时间细解. 简单说一些常用的吧! 
(以下指令没有双引号)

1. "vmc login" 登录

2. "vmc info" 账户信息

3. "vmc apps" 查看Apps的状态

4. "vmc stats <App_Name>" 具体<App_Name>的状态

5. "vmc update <App_Name>" 更新<App_Name>, 请在<App_Name>所在目录执行

6. "vmc -h" 查看帮助

7. "vmc delete <App_Name>" 删除<App_Name>

早就想写写这方面的文章的, 可惜没有时间哇, 
而且能力不足. 唉.

Original comment by goknmuse on 18 Apr 2012 at 5:29

GoogleCodeExporter commented 9 years ago
Showing basic command set. Pass --all to list all commands.

Getting Started
  info                  Display information on the current target, user, etc.
  login [USERNAME]      Authenticate with the target
  logout                Log out from the target
  target [URL]          Set or display the target cloud, organization, and space

Applications
  app [APP]     Show app information
  apps          List your applications

  Management
    delete APPS...      Delete an application
    push [NAME]         Push an application, syncing changes if it exists
    restart APPS...     Stop and start an application
    start APPS...       Start an application
    stop APPS...        Stop an application

Services
  service INSTANCE      Show service instance information
  services              List your service instances

  Management
    bind-service [INSTANCE] [APP]       Bind a service instance to an applicatio
n
    unbind-service [INSTANCE] [APP]     Unbind a service from an application
    create-service [SERVICE] [NAME]     Create a service
    delete-service [INSTANCE]           Delete a service
    tunnel [INSTANCE] [CLIENT]          Tells you to install tunnel-vmc-plugin

Organizations
  create-org [NAME]             Create an organization
  delete-org [ORGANIZATION]     Delete an organization
  org [ORGANIZATION]            Show organization information
  orgs                          List available organizations

Spaces
  create-space [NAME] [ORGANIZATION]    Create a space in an organization
  delete-space SPACES...                Delete a space and its contents
  space [SPACE]                         Show space information
  spaces [ORGANIZATION]                 List spaces in an organization

Routes
  create-route [URL]    Create a route
  delete-route [ROUTE]  Delete a route
  routes                List routes in a space

Domains
  add-domain NAME               Add a domain to a space
  create-domain NAME            Create a domain
  delete-domain [DOMAIN]        Delete a domain
  domains [SPACE]               List domains in a space
  remove-domain [DOMAIN]        Remove a domain from a space

Options:
      --[no-]color       Use colorful output
      --[no-]script      Shortcut for --quiet and --force
  -V, --verbose          Print extra information
  -f, --[no-]force       Skip interaction when possible
  -h, --help             Show command usage & instructions
  -m, --manifest FILE    Path to manifest file to use
  -q, --[no-]quiet       Simplify output format
  -t, --trace            Show API requests and responses
  -u, --proxy EMAIL      Act as another user (admin only)
  -v, --version          Print version number

Original comment by Aihymhu...@gmail.com on 11 Dec 2012 at 3:06