Skip to content

Commit

Permalink
Added compose DB support for node, updated README and UI, and added d…
Browse files Browse the repository at this point in the history
…eployment tracker for node
  • Loading branch information
jakepeyser committed Jul 23, 2015
1 parent 55b69da commit e0418d1
Show file tree
Hide file tree
Showing 10 changed files with 292 additions and 258 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ about
================================================================================

The ToDo sample apps are meant to be simple demos of how you can take advantage
of BlueMix and a database service. In addition it shows how to take advantage
of both the [built-in](https://www.ng.bluemix.net/docs/RT/Runtimes.jsp) and
[community buildpacks](https://github.com/cloudfoundry-community/cf-docs-contrib/wiki/Buildpacks)
of Bluemix and a database service. In addition it shows how to take advantage
of both the [built-in](https://www.ng.bluemix.net/docs/starters/rt_landing.html) and [community buildpacks](https://github.com/cloudfoundry-community/cf-docs-contrib/wiki/Buildpacks)
to deploy your app using whatever runtime you choose.

The ToDo app is pretty simple, it allows you to add an persist ToDos that you
Expand Down Expand Up @@ -65,10 +64,9 @@ running the samples

To run the samples on BlueMix you must have signed up for BlueMix and have
installed the Cloud Foundry command line tool. To sign up for BlueMix head to
[bluemix.net](http://bluemix.net) and register.
[bluemix.net](https://console.ng.bluemix.net/?cm_mmc=Display-GitHubReadMe-_-BluemixSampleApp-Todo-_-Node-Compose-_-BM-DevAd) and register.

You can download the Cloud Foundry command line tool by following the steps in the
[README file](https://github.com/cloudfoundry/cli).
You can download the Cloud Foundry command line tool by following the steps in the [README file](https://github.com/cloudfoundry/cli).

After you have installed the Cloud Foundry command line tool you need to point it
at BlueMix so it knows where to deploy the applications. You can do this by running
Expand Down Expand Up @@ -153,7 +151,7 @@ The response should be a 204.
### Mongo

* The Mongo implementation should use a collection called "todos".
* You should create a Mongo DB service with the name "todo-mongo-db".
* You should create a Mongo DB service with the name "todo-mongo-db" or "todo-compose-mongo-db", depending on which Mongo provider you choose.

#### Setting Up a Mongo DB server Locally

Expand Down
7 changes: 5 additions & 2 deletions frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
<html lang="en" data-framework="backbonejs">
<head>
<meta charset="utf-8">
<title>BlueMix ToDos</title>
<title>Bluemix ToDos</title>
<link rel="stylesheet" href="bower_components/todomvc-common/base.css">
<link rel="icon" href="images/bluemix-icon.png">
</head>
<body>
<a href="https://github.com/IBM-Bluemix/todo-apps" target="_blank">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png">
</a>
<section id="todoapp">
<header id="header">
<h1>(bluemix) todos</h1>
Expand All @@ -22,7 +25,7 @@ <h1>(bluemix) todos</h1>
<footer id="info">
<p>Double-click to edit a todo</p>
<p>Originally written by <a href="https://github.com/addyosmani">Addy Osmani</a></p>
<p>Additions of <a href="http://ace.ng.bluemix.net">BlueMix</a> functionality made by BlueMix Dev Advocate Team.</p>
<p>Additions of <a href="https://console.ng.bluemix.net/?cm_mmc=Display-SampleAppLink-_-BluemixSampleApp-Todo-_-Node-Compose-_-BM-DevAd">Bluemix</a> functionality made by Bluemix Dev Advocate Team.</p>
<p>Originally part of <a href="http://todomvc.com">TodoMVC</a></p>
</footer>
<script type="text/template" id="item-template">
Expand Down
Loading

0 comments on commit e0418d1

Please sign in to comment.