Skip to content

Commit 789ef7c

Browse files
committed
add IBM Cloud host
v2.1
1 parent 7743fca commit 789ef7c

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

.cfigonre

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.git/
2+
.gitignore
3+
LICENSE
4+
README.md
5+

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,20 @@ Docker Hub is a free service to publicly store available images.
4242
![my_doker_hub](/img/docker_hub.png)
4343

4444
## 4. As an application hosted by IBM Cloud
45-
:octocat: Befor you begin:
45+
:octocat: Before you begin, verify that you have completed the below steps:
4646

47-
* [IBM Cloud account](https://cloud.ibm.com/registration)
48-
* install [IBM Cloud CLI](https://cloud.ibm.com/docs/cli?topic=cloud-cli-getting-started) by running `curl -sL https://ibm.biz/idt-installer | bash`
47+
* you have access to an [IBM Cloud account](https://cloud.ibm.com/registration).
48+
* the [IBM Cloud CLI](https://cloud.ibm.com/docs/cli?topic=cloud-cli-getting-started) is installed in your workstation.
4949

5050
1. clone the repository by running `git clone https://github.com/AhmNouira/flask-hello-world`
5151
2. `cd flask-hello-world`
5252
2. run `bx login` to login to your IBM cloud account and enter your email and password
5353
3. `bx target --cf ` to target the Cloud Foundary
54+
To check the default organization and space to which you have access, go to https://cloud.ibm.com/account/cloud-foundry.
5455
4. `bx cf push` to push the application to IBM Cloud
55-
5. if you found any error run `bx cf logs <your-app-name> --recent ` to see the troubleshoot
56-
56+
5. if you found any error run `bx cf logs flask-hello-world --recent ` to see the troubleshoot
57+
6. check whether your app is running `bx cf app flask-hello-world`
58+
7. to explore how your app directories are structured `bx cf ssh flask-hello-world`
59+
__Visit my [site](http://flask-hello-world.eu-gb.mybluemix.net)__
5760
![ibm_cloud](/img/ibm_cloud.png)
5861

manifest.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
applications:
22
- path: .
3-
# host: flask-hello-word
3+
# host: flask-hello-world
44
random_route: True
5-
name: flask-hello-world
5+
name: flask-hello-world
66
domaine: mybluemix.net
77
memory: 128M
88
disk_quota: 128M
9+
10+

0 commit comments

Comments
 (0)