You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ This app is designed to run in different ways:
21
21
2.`git clone` the project then `cd` into the directory
22
22
3. run `virtualenv -p /usr/bin/python3 venv`or `python -m venv venv` to create a virtual environment
23
23
4. activate it using `source venv/bin/activate`
24
-
5.`pip install -r requirements.txt` to install the app libaries and it dependencies
24
+
5.`pip install -r requirements.txt` to install the app libraries and it dependencies
25
25
26
26
### running the app
27
27
@@ -33,7 +33,7 @@ Access the running app in a browser at the URL written to the console (most like
33
33
1. install [Docker](https://www.docker.com/)
34
34
2.`run docker --version` to check if docker is installed
35
35
3. run `docker build -t flask-hello-world:latest .` to build the docker image
36
-
4.`docker images` list the local avaible images
36
+
4.`docker images` list the local available images
37
37
5. run `docker run --name flask_hello_world -d -p 8000:5000 --rm flask-hello-world:latest` to start the container
38
38
6. Navigate to <http://localhost:8000> in a browser to see the results. If you want to share it with your local network devices navigate to http://[your-ip-address]:8000
39
39
@@ -44,7 +44,7 @@ Docker Hub is a free service to publicly store available images.
44
44
1. you need to install only [Docker](https://www.docker.com/)
45
45
2. just run `docker run -d -p 8080:5000 --name flask ahmnouira/flask-hello-world`
46
46
47
-

47
+

48
48
49
49
## 4. As an application hosted by IBM Cloud
50
50
@@ -55,12 +55,12 @@ Docker Hub is a free service to publicly store available images.
55
55
56
56
1. clone the repository by running `git clone https://github.com/AhmNouira/flask-hello-world`
57
57
2.`cd flask-hello-world`
58
-
2. run `bx login` to login to your IBM cloud account and enter your email and password
59
-
3.`bx target --cf` to target the Cloud Foundary
58
+
3. run `bx login` to login to your IBM cloud account and enter your email and password
59
+
4.`bx target --cf` to target the Cloud Foundry
60
60
To check the default organization and space to which you have access, go to <https://cloud.ibm.com/account/cloud-foundry>.
61
-
4.`bx cf push` to push the application to IBM Cloud
62
-
5. if you found any error run `bx cf logs flask-hello-world --recent` to see the troubleshoot
63
-
6. check whether your app is running `bx cf app flask-hello-world`
64
-
7. to explore how your app directories are structured `bx cf ssh flask-hello-world`
61
+
5.`bx cf push` to push the application to IBM Cloud
62
+
6. if you found any error run `bx cf logs flask-hello-world --recent` to see the troubleshoot
63
+
7. check whether your app is running `bx cf app flask-hello-world`
64
+
8. to explore how your app directories are structured `bx cf ssh flask-hello-world`
0 commit comments