Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Tutorial : create server/boot/sample-app #47

Open
smartmouse opened this issue Nov 10, 2015 · 0 comments
Open

Tutorial : create server/boot/sample-app #47

smartmouse opened this issue Nov 10, 2015 · 0 comments

Comments

@smartmouse
Copy link

https://github.com/strongloop/strong-gateway-demo/tree/master/notes-app-plain
step 3, create a boot script to add sample data.
slc loopback: boot-script sample-data

A sample-data.js is created with draft template as follows:

But doc ask us to follow link to create
https://github.com/strongloop/strong-gateway-demo/blob/master/notes-app-plain/resource-server/server/boot/sample-data.js#L2-L16

This is the draft:

What is the purpose of asking people to remove the line? Is it deliberate?
Just waste of effort to need to remove things.

We should either create the expected sample or leave a blank function body.

module.exports = function(app, cb) {
/*

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant