mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-20 17:33:18 +00:00
Add helpful instructions after quickstart
This commit is contained in:
parent
0f8d6a98e3
commit
8ef27f0525
@ -35,7 +35,9 @@
|
||||
}).tap(patterns.awaitDevice).then(function(uuid) {
|
||||
return capitano.runAsync("device " + uuid);
|
||||
}).then(function() {
|
||||
return console.log('Your device is ready, start pushing some code!');
|
||||
return resin.models.application.get(params.name);
|
||||
}).then(function(application) {
|
||||
return console.log("Your device is ready to start pushing some code!\n\nCheck our official documentation for more information:\n\n http://docs.resin.io/#/pages/introduction/introduction.md\n\nClone an example or go to an existing application directory and run:\n\n $ git remote add resin " + application.git_repository + "\n $ git push resin master");
|
||||
}).nodeify(done);
|
||||
}
|
||||
};
|
||||
|
@ -38,5 +38,18 @@ exports.wizard =
|
||||
.then (uuid) ->
|
||||
return capitano.runAsync("device #{uuid}")
|
||||
.then ->
|
||||
console.log('Your device is ready, start pushing some code!')
|
||||
return resin.models.application.get(params.name)
|
||||
.then (application) ->
|
||||
console.log """
|
||||
Your device is ready to start pushing some code!
|
||||
|
||||
Check our official documentation for more information:
|
||||
|
||||
http://docs.resin.io/#/pages/introduction/introduction.md
|
||||
|
||||
Clone an example or go to an existing application directory and run:
|
||||
|
||||
$ git remote add resin #{application.git_repository}
|
||||
$ git push resin master
|
||||
"""
|
||||
.nodeify(done)
|
||||
|
Loading…
x
Reference in New Issue
Block a user