· 6 years ago · Jan 15, 2020, 02:00 PM
1Register here: https://cloud.ibm.com/registration
2
3Then after registration, go here: https://cloud.ibm.com/devops/toolchains?
4
5Click "Create a Toolchain".
6
7Choose "Cloud Foundry app", click create button beside it.
8
9Type any name on Toolchain Name: example: blackhatprotools
10
11(6) Scroll down to Repository type and select New.
12
13Uncheck the "Make this repo private"
14
15Create IBM Cloud IP key. Then hit the Create button.
16
17A Pop Up will appear like this, "Create API key" just click "create"
18
19Select Eclipse Orion Web IDE :
20
21
22
23
24Then go to File menu, New, File.
25
26Name it index.html.
27
28Copy paste your html code into the editor (you can generate it here easily : https://html-online.com/).
29
30Note: you can create your own html index file or google for simple html index codes
31
32Create a new manifest by going to File menu, New, File. Name it manifest.yml and copy paste the code below into your editor :
33
34https://pastebin.com/raw/kDg99Ryv
35
36
37Replace the host and the name with your host application URL. And it must be unique.
38
39Here is what it will look like:
40
41
42
43
44
45(The BHPT logo shouldn't appear on your page of course lol).
46
47Then Deploy the App by clicking the start icon (play button) and then wait for a minute or two.
48
49
50
51a) If it success, there is light (next to your project name - on the same line then the "play" button) that will turn into green.
52
53If it fails, go to your launch file and edit the "Name: " with your unique name above.
54
55Apply your changes to Git Repos by doing this :
56
57
58
59
60Enter a comment then Commit.
61
62
63
64
65Hit the Sync button.
66
67
68
69
70
71Go back to the editor, then click Open the Deployed App to see the result!