whisk.cli.commands.project.app

Manage the web service.

Module Contents

Functions

cli()

start()

Start the HTTP web service.

create(name)

Create a Heroku app for the web service with the given NAME. The NAME must be unique across all Heroku apps.

destroy()

Delete the Heroku app.

whisk.cli.commands.project.app.cli()[source]
whisk.cli.commands.project.app.start()[source]

Start the HTTP web service.

whisk.cli.commands.project.app.create(name)[source]

Create a Heroku app for the web service with the given NAME. The NAME must be unique across all Heroku apps.

A Heroku deploy performs the following steps:

  • Ensures there are no unstaged commits before creating the app. If there are uncommited changes the command exists with a warning.

  • Creates the Heroku app

  • Adds the Multi-Procfile buildpack to access the Procfile within the app/ folder of the project.

  • Adds the Python buildpack.

  • Sets a PROCFILE config var to app/Procfile.

  • Pushes the git repo to Heroku.

whisk.cli.commands.project.app.destroy()[source]

Delete the Heroku app.