Skip to content

Commit

Permalink
docs: fix number formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dhmlau committed Oct 26, 2018
1 parent a3d5d0c commit fbc8f15
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 30 deletions.
2 changes: 1 addition & 1 deletion docs/site/Decorators_inject.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,4 @@ injection if possible. Use `@inject.context` only when the code needs to access
the current context object for advanced use cases.

For more information, see the [Dependency Injection](Dependency-Injection.md)
section under [LoopBack Core Concepts](Concepts.md)
section under [LoopBack Core Concepts](Concepts.md).
4 changes: 2 additions & 2 deletions docs/site/Decorators_route.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,5 +315,5 @@ class MyController {
```

_We plan to support more `@requestBody` shortcuts in the future. You can track
the feature in story_
_(https://github.com/strongloop/loopback-next/issues/1064)_
the feature in
[story 1064](https://github.com/strongloop/loopback-next/issues/1064)._
32 changes: 16 additions & 16 deletions docs/site/Deploying-to-IBM-Cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,29 +146,29 @@ export async function main(options?: ApplicationConfig) {

## Running the app locally

1. Install all dependencies:
1. Install all dependencies:

```sh
$ npm i
```

2. Build the app:
2. Build the app:

```sh
$ npm run build
```

3. Ensure Cloudant is running locally.
4. Start the app:
3. Ensure Cloudant is running locally.
4. Start the app:

```sh
$ npm start
```

5. Go to http://localhost:3000/explorer to load API Explorer and add a todo or
two.
5. Go to http://localhost:3000/explorer to load API Explorer and add a todo or
two.

6. Go to http://localhost:3000/todos to see the todos.
6. Go to http://localhost:3000/todos to see the todos.

## Deploying the app

Expand All @@ -178,9 +178,9 @@ further.
We'll need to create the following Cloud Foundry artifacts to deploy our app to
IBM Cloud:

1. `.cfignore` - not mandatory, prevents `cf` from uploading the listed files
to IBM Cloud.
2. `manifest.yml` - details about the app.
1. `.cfignore` - not mandatory, prevents `cf` from uploading the listed files to
IBM Cloud.
2. `manifest.yml` - details about the app.

Create a file named `.cfignore` in the app directory with the following content.

Expand All @@ -200,20 +200,20 @@ $ cf create-app-manifest mylb4app -p manifest.yml

Now we are ready to deploy the app to IBM Cloud.

1. Build the app locally:
1. Build the app locally:

```sh
npm run build
```

2. Push the app to Cloud Foundry:
2. Push the app to Cloud Foundry:

```
cf push mylb4app
```

3. Go to https://mylb4app.eu-gb.mybluemix.net/explorer to load the API Explorer
and add a todo or two. The host `mylb4app.eu-gb.mybluemix.net` is derived
from the `name` and `domain` values in the `manifest.yml` file.
3. Go to https://mylb4app.eu-gb.mybluemix.net/explorer to load the API Explorer
and add a todo or two. The host `mylb4app.eu-gb.mybluemix.net` is derived
from the `name` and `domain` values in the `manifest.yml` file.

4. Go to https://mylb4app.eu-gb.mybluemix.net/todos to see the todos.
4. Go to https://mylb4app.eu-gb.mybluemix.net/todos to see the todos.
2 changes: 0 additions & 2 deletions docs/site/Model.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ sidebar: lb4_sidebar
permalink: /doc/en/lb4/Model.html
---

{% include content/tbd.html %}

## Overview

A model describes business domain objects, for example, `Customer`, `Address`,
Expand Down
18 changes: 9 additions & 9 deletions examples/soap-calculator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ Follow the following steps to start buiding your application:
6. [Register the service](https://loopback.io/doc/en/lb4/soap-calculator-tutorial-make-service-available.md)
7. [Run and Test the application](https://loopback.io/doc/en/lb4/soap-calculator-run-and-and-test.md)

## or Try it out
## Try it out

If you'd like to see the final results of this tutorial as an example
application, follow these steps:

### Generate the example using CLI

1.Run the `lb4 example` command to select and clone the soap-calculator
repository:
1. Run the `lb4 example` command to select and clone the soap-calculator
repository:

```sh
$ lb4 example
Expand All @@ -60,19 +60,19 @@ $ lb4 example
> soap-calculator: An example on how to integrate SOAP web services.
```

2.Jump into the directory and then install the required dependencies:
2. Jump into the directory and then install the required dependencies:

```sh
cd loopback4-example-soap-calculator
```

3.Finally, start the application!
3. Finally, start the application!

```sh
$ npm start
```sh
$ npm start

Server is running on port 3000
```
Server is running on port 3000
```

Feel free to look around in the application's code to get a feel for how it
works.
Expand Down

0 comments on commit fbc8f15

Please sign in to comment.