Skip to content

Commit 361317d

Browse files
committed
Resized headers in Readme files. Ensured all samples have a Hello World! message.
1 parent 0e1ca97 commit 361317d

File tree

22 files changed

+59
-48
lines changed

22 files changed

+59
-48
lines changed

appengine/express/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
> [Express](http://expressjs.com) is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
44
5-
##### Create a new Express app
5+
### Create a new Express app
66

77
View the [Express app generator guide](http://expressjs.com/starter/generator.html).
88

9-
##### Configure
9+
### Configure
1010

1111
Create an `app.yaml` in the root of your application with the following contents:
1212

@@ -18,7 +18,7 @@ env_variables:
1818
PORT: 8080
1919
```
2020
21-
##### Deploy
21+
### Deploy
2222
2323
For convenience, you can use an npm script to run the deploy command. Modify your `package.json` to include:
2424

appengine/express/routes/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ var router = express.Router();
1818

1919
// [START hello_world]
2020
router.get('/', function(req, res) {
21-
res.render('index', { title: 'Hello World!' });
21+
res.render('index', {
22+
title: 'Hello World! Express.js on Google App Engine.'
23+
});
2224
});
2325
// [END hello_world]
2426

appengine/geddy/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
> [Geddy](http://geddyjs.org/) is a simple, structured web framework for Node.
44
5-
##### Create a new Geddy app
5+
### Create a new Geddy app
66

77
[View the Geddy tutorial](http://geddyjs.org/tutorial).
88

9-
##### Configure
9+
### Configure
1010

1111
Create an `app.yaml` in the root of your application with the following contents:
1212

@@ -18,7 +18,7 @@ env_variables:
1818
PORT: 8080
1919
```
2020
21-
##### Prepare the app
21+
### Prepare the app
2222
2323
Create a `server.js` that contains the following code:
2424

@@ -32,7 +32,7 @@ geddy.start({
3232

3333
Run `npm install --save geddy`
3434

35-
##### Deploy
35+
### Deploy
3636

3737
For convenience, you can use an npm script to run the deploy command. Modify your `package.json` to include:
3838

Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- Lets talk about geddy -->
22
<div class="hero-unit geddy-welcome-box">
3-
<h1>Hello, World!</h1>
3+
<h1>Hello, World! Geddy.js on Google App Engine.</h1>
44
<p>You've created a Geddy app and your server is running. If you already know what you're doing, feel free to jump into your app logic, if not...</p>
55
<p><%- linkTo('Lets get you started »', 'http://geddyjs.org/tutorial.html', {class: 'btn btn-primary btn-large'}) %></p>
66
</div>

appengine/grunt/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
rc/public/stylesheets/style.min.css
1+
src/public/stylesheets/style.min.css

appengine/grunt/README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
> [Grunt](http://gruntjs.com/): The JavaScript Task Runner.
44
5-
##### Create a new app
5+
### Create a new app
66

77
[View the Grunt docs](http://gruntjs.com/getting-started).
88

9-
##### Configure
9+
### Configure
1010

1111
Create an `app.yaml` in the root of your application with the following contents:
1212

@@ -20,7 +20,7 @@ env_variables:
2020
2121
Run `npm install --save-dev grunt-cli` to make the Grunt command line tools available locally during the build.
2222

23-
##### Deploy
23+
### Deploy
2424

2525
Modify your `package.json` to include an npm `postinstall` script. This will be run during your applications `npm install` phase.
2626

@@ -36,3 +36,7 @@ For convenience, you can use an npm script to run the deploy command. Modify you
3636
```
3737

3838
At the terminal you can now run `npm run deploy` to deploy your application.
39+
40+
The `postinstall` script causes the `grunt build` command to be executed after
41+
the `npm install` command succeeds. This allows you to execute the build after
42+
deployment.

appengine/grunt/src/routes/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ var router = express.Router();
1818

1919
// [START hello_world]
2020
router.get('/', function(req, res) {
21-
res.render('index', { title: 'Hello World!' });
21+
res.render('index', {
22+
title: 'Hello World! Express.js + Grunt.js on Google App Engine.'
23+
});
2224
});
2325
// [END hello_world]
2426

appengine/hapi/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
> [Hapi](http://hapijs.com/) is a rich framework for building applications and services. Hapi enabled developers to focus on writing reusable application logic instead of spending time building infrastructure.
44
5-
##### Create a new Hapi app
5+
### Create a new Hapi app
66

77
[View the Hapi docs](http://hapijs.com/).
88

9-
##### Configure
9+
### Configure
1010

1111
Create an `app.yaml` in the root of your application with the following contents:
1212

@@ -18,7 +18,7 @@ env_variables:
1818
PORT: 8080
1919
```
2020
21-
##### Prepare the app
21+
### Prepare the app
2222
2323
Update `package.json` to add an `npm start` command:
2424

@@ -37,7 +37,7 @@ server.connection({
3737
});
3838
```
3939

40-
##### Deploy
40+
### Deploy
4141

4242
For convenience, you can use an npm script to run the deploy command. Modify your `package.json` to include:
4343

appengine/hapi/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ server.route({
2929
method: 'GET',
3030
path:'/',
3131
handler: function (request, reply) {
32-
reply('hello world');
32+
reply('Hello World! Hapi.js on Google App Engine.');
3333
}
3434
});
3535
// [END index]
@@ -39,7 +39,7 @@ server.route({
3939
method: 'GET',
4040
path:'/hello',
4141
handler: function (request, reply) {
42-
reply('hello world');
42+
reply('Hello World! Hapi.js on Google App Engine.');
4343
}
4444
});
4545

appengine/koa/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> [koa](http://koajs.com) is a next generation web framework for node.js
44
5-
##### Create a new Koa app
5+
### Create a new Koa app
66

77
[View the Koa docs](http://koajs.com/).
88

@@ -19,7 +19,7 @@ app.use(function *(){
1919
app.listen(process.env.PORT || 8080);
2020
```
2121

22-
##### Configure
22+
### Configure
2323

2424
Create an `app.yaml` in the root of your application with the following contents:
2525

@@ -31,13 +31,13 @@ env_variables:
3131
PORT: 8080
3232
```
3333
34-
##### Prepare the app
34+
### Prepare the app
3535
3636
Run `npm init` to initialize a `package.json`.
3737

3838
Modify your `package.json`. Add a `start` command - take care to include the `--harmony` flag, as koa requires generators.
3939

40-
##### Deploy
40+
### Deploy
4141

4242
For convenience, you can use an npm script to run the deploy command. Modify your `package.json` to include:
4343

appengine/koa/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var koa = require('koa');
1818
var app = koa();
1919

2020
app.use(function *(){
21-
this.body = 'Hello World';
21+
this.body = 'Hello World! Koa.js on Google App Engine.';
2222
});
2323

2424
app.listen(process.env.PORT || 8080);

appengine/kraken/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
> [Kraken](http://krakenjs.com) is a secure and scalable layer that extends express by providing structure and convention.
44
5-
##### Create a new Kraken app
5+
### Create a new Kraken app
66

77
[View the Kraken docs](http://krakenjs.com/index.html#getting-started).
88

9-
##### Configure
9+
### Configure
1010

1111
Create an `app.yaml` in the root of your application with the following contents:
1212

@@ -18,7 +18,7 @@ env_variables:
1818
PORT: 8080
1919
```
2020
21-
##### Deploy
21+
### Deploy
2222
2323
For convenience, you can use an npm script to run the deploy command. Modify your `package.json` to include:
2424

Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
greeting=Hello, {name}!
1+
greeting=Hello, {name}! Kraken.js on Google App Engine.

appengine/kraken/models/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515

1616
module.exports = function IndexModel() {
1717
return {
18-
name: 'index'
18+
name: 'World'
1919
};
2020
};

appengine/loopback/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
> [Loopback](http://loopback.io/) is a highly-extensible, open-source Node.js framework.
44
5-
##### Create a new Loopback app
5+
### Create a new Loopback app
66

77
[View the Loopback docs](http://loopback.io/getting-started/).
88

9-
##### Configure
9+
### Configure
1010

1111
Create an `app.yaml` in the root of your application with the following contents:
1212

@@ -18,7 +18,7 @@ env_variables:
1818
PORT: 8080
1919
```
2020
21-
##### Deploy
21+
### Deploy
2222
2323
For convenience, you can use an npm script to run the deploy command. Modify your `package.json` to include:
2424

appengine/loopback/client/index.html

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<head><title>LoopBack</title></head>
2+
<body>
3+
<h1>Hello World!</h1>
4+
<p>LoopBack.js on Google App Engine.</p>
5+
</body>

appengine/loopback/server/boot/root.js

-6
This file was deleted.

appengine/loopback/server/middleware.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@
1616
"auth": {},
1717
"parse": {},
1818
"routes": {},
19-
"files": {},
19+
"files": {
20+
"loopback#static": {
21+
"params": "$!../client"
22+
}
23+
},
2024
"final": {
2125
"loopback#urlNotFound": {}
2226
},

appengine/restify/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> [Restify](http://mcavage.me/node-restify/) is a node.js module built specifically to enable you to build correct REST web services.
44
5-
##### Create a new Restify app
5+
### Create a new Restify app
66

77
Create a new directory for your code.
88

@@ -38,7 +38,7 @@ server.listen(process.env.PORT || 8080, function () {
3838

3939
Run `npm install --save restify`
4040

41-
##### Configure Create an `app.yaml` in the root of your application with the following contents:
41+
### Configure Create an `app.yaml` in the root of your application with the following contents:
4242

4343
```yaml
4444
runtime: nodejs
@@ -48,7 +48,7 @@ env_variables:
4848
PORT: 8080
4949
```
5050
51-
##### Deploy
51+
### Deploy
5252
5353
For convenience, you can use an npm script to run the deploy command. Modify your `package.json` to include:
5454

appengine/restify/server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ server.get('/echo/:name', function (req, res, next) {
3333

3434
// [START index]
3535
server.get('/', function (req, res) {
36-
res.send('Hello World!');
36+
res.send('Hello World! Restify.js on Google App Engine.');
3737
});
3838
// [END index]
3939

appengine/sails/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
> [Sails](http://sailsjs.org/) makes it easy to build custom, enterprise-grade Node.js apps.
44
5-
##### Create a new Sails app
5+
### Create a new Sails app
66

77
[View the Sails docs](http://sailsjs.org/get-started)
88

9-
##### Configure
9+
### Configure
1010

1111
Create an `app.yaml` in the root of your application with the following contents:
1212

@@ -18,7 +18,7 @@ env_variables:
1818
PORT: 8080
1919
```
2020
21-
##### Deploy
21+
### Deploy
2222
2323
For convenience, you can use an npm script to run the deploy command. Modify your `package.json` to include:
2424

appengine/sails/views/homepage.ejs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ setTimeout(function sunrise () {
1212

1313
<div class="default-page">
1414
<div class="header">
15-
<h1 id="main-title" class="container"><%= __('A brand new app.') %></h1>
15+
<h1 id="main-title" class="container"><%= __('Hello World! Sails.js on Google App Engine.') %></h1>
1616
<h3 class="container">You're looking at: <code><%= view.pathFromApp + '.' +view.ext %></code></h3>
1717
</div>
1818
<div class="main container clearfix">

0 commit comments

Comments
 (0)