2. plan
Step 1. Create a toolchain for your new app
Step 2. Create a simple webpage
Step 3. Create a manifest
Step 4. Deploy and open the app
Step 5. Commit your changes to the repo
3. Step 1. Create a toolchain for your new app
Log in to IBM Bluemix.
Navigate to the DevOps dashboard.
Click Create a toolchain.
Select the Simple Cloud Foundry toolchain
(v2).
On the toolchain page, enter a name for your
toolchain (usually your app name).
4.
5. For the Git Repos and IssueTracking tool
integration, select the Repository
type of New, and enter a name for your new
repo.
8. Step 2. Create a simple webpage
After your toolchain is created, it's time to code! In
this example, we will say "Hello" to the world in a
simple webpage.You can do the coding and testing
in theWeb IDE, completely in your browser.
On your toolchain’s overview page, click the Eclipse
OrionWeb IDE.TheWeb IDE will open. A few files
like .cfignore and .gifignore will be created for you
automatically.
In theWeb IDE, select File > New > File.
The file is highlighted so that you can name it.
Enter index.html.
In the editor area on the right, paste the following:
11. Step 3. Create a manifest
A manifest is a file that tells Bluemix how to
deploy the application. It’s possible to deploy
using the launch configuration wizard in the
Web IDE without creating a manifest, but
we’ll create a very simple manifest so that
your app can be easily deployed
using either the Web IDE or the CF Command
Line tool.
12. In theWeb IDE, select File > New > File.
The file is highlighted so that you can name it.
Enter manifest.yml.
In the editor area on the right, paste the
following:
1. ---
2. applications:
3. - buildpack: https://github.com/cloudfoundry/staticfile-buildpack.git
4. host: simple-website-${random}
5. name: simple-website
6. memory: 64M
7. stack: cflinuxfs2
13.
14. Step 4. Deploy and open the app
Now that you have a webpage and a manifest
created in your workspace, you’re ready to
deploy!
16. Step 5. Commit your changes to the repo
So far, you have done all your work in the Web IDE
workspace. Now you want to commit the changes to the Git
Repos and the Issue Tracking repo.
17. On the commit page, enter a
commit comment and
click Commit: