whisk.cli.commands.project.app
¶
Manage the web service.
Module Contents¶
Functions¶
|
|
|
Start the HTTP web service. |
|
Create a Heroku app for the web service with the given NAME. The NAME must be unique across all Heroku apps. |
|
Delete the Heroku app. |
- 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.