Complete Vue.js 2 Web Development_ Practical guide to building end-to-end web development solutions with Vue.js 2

(singke) #1
Integrating with Other Frameworks Chapter 19

In particular, you will need the clientId and the clientSecret, which are displayed in


this fashion:


var app = new Clarifai.App(
'your client id would be printed here',
'your client secret would be here'
);

Take note of this code or be ready to copy and paste it into your application.


How to do it...


Writing a journal is a difficult task, you have to write a lot every day. In this recipe, we'll


build an automatic journal that will write for us, based on pictures we take during the day.


Horizon will help us to memorize everything and to sync the diary between our devices.


After installing RethinkDB, install Horizon with the following command:


npm install -g horizon

Now, you'll have the new command, hz, available. Check it by typing hz -h; you should


see something like the following:


To create a directory that will host our new app, type the following:


hz init vue_app
Free download pdf