Skip to content

Commit b2439b6

Browse files
committed
1 parent 9c7c4bc commit b2439b6

4 files changed

Lines changed: 57 additions & 46 deletions

File tree

enable_existing_python.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2019
5-
lastupdated: "2019-05-21"
5+
lastupdated: "2019-06-10"
66

77
keywords: cli, ibmcloud dev enable, python, cloud enable python, django, deploy python, build python, python debug, python troubleshoot, python cloud help
88

@@ -32,7 +32,7 @@ ibmcloud dev enable
3232
{: codeblock}
3333

3434
* When you're prompted to verify the detected framework for the project, **Python - Flask** or **Python - Django**, reply `y`.
35-
* You are then prompted to **Connect to an IBM Cloud app**. Select either the **Generate assets, create a new IBM Cloud app and connect to it** or **Generate assets without connecting to an IBM Cloud app** options to your app.
35+
* You are then prompted to **Connect to an IBM Cloud app**. Select either the **Generate assets, create a new IBM Cloud app and connect to it** or **Generate assets without connecting to an IBM Cloud app** options to connect your app.
3636
* The `enable` command can also create services and bind them to your app. For this basic example, reply `n`.
3737

3838
See the following sample output:
@@ -125,7 +125,7 @@ ibmcloud dev deploy
125125
## What to do if your enabled app does not build or deploy
126126
{: #build-failure-python}
127127

128-
Not all apps are successfully enabled by the `enable` command. For example, the following error might occur when the project name is different from the directory name that contains the `wsgi.py` and `settings.py` files:
128+
Not all apps are successfully enabled by the `enable` command. For example, the following error might occur when the project name differs from the directory name that contains the `wsgi.py` and `settings.py` files:
129129
```
130130
ImportError: No module named <projectname>.wsgi
131131
```

faq.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2019
5-
lastupdated: "2019-06-03"
5+
lastupdated: "2019-06-10"
66

77
keywords: cli, cli faq, debug cli, cli help, ibmcloud cli help, ibmcloud help
88

@@ -13,7 +13,7 @@ subcollection: cloud-cli
1313
# FAQs
1414
{: #ibm-cli-faq}
1515

16-
## Am I required to use the latest version of the {{site.data.keyword.cloud_notm}} CLI?
16+
## Is it required to use the latest version of the {{site.data.keyword.cloud_notm}} CLI?
1717
{: #cli-latest-version}
1818

1919
Yes, you must use the latest version. You can check which version you are using by running the following command:
@@ -23,7 +23,7 @@ ibmcloud -v
2323
```
2424
{: codeblock}
2525

26-
## How do I update my CLI?
26+
## How to update the CLI
2727
{: #cli-update-version}
2828

2929
Run the following command to update to the latest version of the CLI:
@@ -33,26 +33,26 @@ ibmcloud update
3333
```
3434
{: codeblock}
3535

36-
## Can I get notified about new releases of the CLI?
36+
## How to be notified about new CLI releases?
3737
{: #cli-get-notified}
3838

39-
Yes, you stay up to date on new releases of the CLI as they become available. Subscribe to the [{{site.data.keyword.cloud_notm}} CLI releases repository](https://github.com/IBM-Cloud/ibm-cloud-cli-release/releases/){: new_window} ![External link icon](../../../icons/launch-glyph.svg "External link icon")
39+
Yes, you stay up-to-date on new releases of the CLI as they become available. Subscribe to the [{{site.data.keyword.cloud_notm}} CLI releases repository](https://github.com/IBM-Cloud/ibm-cloud-cli-release/releases/){: new_window} ![External link icon](../../../icons/launch-glyph.svg "External link icon")
4040

4141
## What is the file structure for {{site.data.keyword.cloud_notm}} applications?
4242
{: #cli-file-structure}
4343

4444
Applications that are created or enabled from the CLI come with pre-configured settings encapsulated in the `cli-config.yml` file. The `cli-config.yml` contains default entries that are used by the commands of the CLI that can be overridden by values that are passed through the command line.
4545

46-
Apps that have deployed to a DevOps toolchain may also contain files such as `toolchain.yml` and `pipeline.yml`. Apps that are being manually deployed can contain a `manifest.yml` and Helm chart files (for deployment to Cloud Foundry or Kubernetes, for example).
46+
Apps that are deployed to a DevOps toolchain can also contain files such as `toolchain.yml` and `pipeline.yml`. Apps that are being manually deployed can contain a `manifest.yml` and Helm chart files (for deployment to Cloud Foundry or Kubernetes, for example).
4747

4848
## How are local containers used?
4949
{: #cli-faq-containers}
5050

5151
The {{site.data.keyword.dev_cli_long}} CLI plug-in uses two containers to facilitate building and testing your app. The first is the tools container, which contains the necessary utilities to build and test your app. The `Dockerfile` for this container is defined by the [`dockerfile-tools`](/docs/cli/idt?topic=cloud-cli-idt-cli#command-parameters) parameter. You might think of it as a development container, as it contains the tools that are normally used for development of a particular runtime.
5252

53-
The second container is the run container, which closely mimics the actual runtime environment of your app once that it is deployed to the cloud. This container is in a form that is suitable to be deployed for use, for example, in {{site.data.keyword.cloud_notm}}. As a result, an entry point is defined that starts your app. When you select to run your app through the {{site.data.keyword.dev_cli_long}} CLI Plug-in CLI, it uses this container. The `Dockerfile` for this container is defined by the [`dockerfile-run`](/docs/cli/idt?topic=cloud-cli-idt-cli#run) parameter.
53+
The second container is the run container, which closely mimics the actual runtime environment of your app once it is deployed to the cloud. This container is in a form that is suitable to be deployed for use, for example, in {{site.data.keyword.cloud_notm}}. As a result, an entry point is defined that starts your app. When you select to run your app through the {{site.data.keyword.dev_cli_long}} CLI plug-in CLI, it uses this container. The `Dockerfile` for this container is defined by the [`dockerfile-run`](/docs/cli/idt?topic=cloud-cli-idt-cli#run) parameter.
5454

55-
## How do I deploy existing code?
55+
## How to deploy existing code?
5656

5757
To deploy an existing code base, see [Generating deployment and cloud enablement assets](/docs/apps?topic=creating-apps-create-deploy-app-cli#byoc-cli).
5858

0 commit comments

Comments
 (0)