Update the Quick Start
This commit is contained in:
parent
2e6a1c9dd9
commit
009508d030
|
@ -1,25 +1,59 @@
|
||||||
###Quick Start
|
###Quick Start
|
||||||
|
|
||||||
**Step 1** Install the [StrongLoop Suite](#NEED_LINK)
|
<h4>Step 1</h4>
|
||||||
|
|
||||||
**Step 2** Create a sample LoopBack application.
|
> Install the [StrongLoop Suite](#NEED_LINK)
|
||||||
|
|
||||||
|
<h4>Step 2</h4>
|
||||||
|
|
||||||
|
> Setup the **StrongLoop Suite Sample App**.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ slc lb api-example
|
$ slc example
|
||||||
```
|
```
|
||||||
**Step 3** Run the sample application.
|
|
||||||
|
The command above takes care of cloning the sample app into a new directory
|
||||||
|
named `sls-sample-app` and installing all of its dependencies.
|
||||||
|
|
||||||
|
|
||||||
|
<h4>Step 3</h4>
|
||||||
|
|
||||||
|
> Run the sample application.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ cd loopback-sample-app
|
$ cd sls-sample-app
|
||||||
$ slc run app
|
$ slc run app
|
||||||
```
|
```
|
||||||
|
|
||||||
**Step 4** Click the button below to open the app in a browser.
|
<h4>Step 4</h4>
|
||||||
|
|
||||||
<a href="http://localhost:3000" class="status btn btn-primary">View the Sample App</a>
|
> Open the app in a browser.
|
||||||
|
|
||||||
**Step 5** Try out the various REST apis by clicking the button below.
|
The sample app should now be running at <http://localhost:3000>. The homepage of
|
||||||
|
the sample app lists several sample requests you can make against the LoopBack
|
||||||
|
REST API.
|
||||||
|
|
||||||
|
<a href="http://localhost:3000" class="status btn btn-primary" target="_blank">
|
||||||
|
View the Sample App</a>
|
||||||
|
|
||||||
|
<h4>Step 5</h4>
|
||||||
|
|
||||||
|
> Explore the REST API
|
||||||
|
|
||||||
|
To browse all the sample app's REST APIs,
|
||||||
|
[open the API explorer](http://localhost:3000/explorer)
|
||||||
|
|
||||||
|
<a href="http://localhost:3000/explorer" class="status btn btn-primary">View the
|
||||||
|
API Explorer</a>
|
||||||
|
|
||||||
|
<h4>Next Steps</h4>
|
||||||
|
|
||||||
|
> Check out the rest of the StrongLoop Suite.
|
||||||
|
|
||||||
|
- To see the out-of-the-box scaling capability of the Suite, check out the
|
||||||
|
[StrongNode Quick Start Guide](http://docs.strongloop.com/strongnode#quick-start).
|
||||||
|
- To see the provided CPU profiling and path trace features, check out the
|
||||||
|
[StrongOps Quick Start Guide](http://docs.strongloop.com/strongops#quick-start).
|
||||||
|
|
||||||
<a href="http://localhost:3000/explorer" class="status btn btn-primary">Explore the REST APIs</a>
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
Loading…
Reference in New Issue