Skip to content

A code-along project where you'll learn to create an Alexa App with Jovo

License

Notifications You must be signed in to change notification settings

Jefftopia/libertyjs-2019-jovo

Repository files navigation

Jovo Framework

Templates for the Jovo Framework ⭐️

Documentation - CLI - Contributing - Twitter


Template: Hello World

Jovo Typescript Sample Voice App with a simple "Hello World!" + asking for the user's name. This is the default template for the jovo new command:

$ jovo new <directory>

## Alternative
$ jovo new <directory> --template helloworld

Setup Instructions for LibertyJS 2019!

NB: Link to Google Slides from the talk now available here.

NodeJS + NPM

Already have NPM and NodeJS? Feel free to skip this section!

The most robust way to use NodeJS is through nvm, which stands for Node Version Manager. Sometimes, NodeJS versions move ahead of what's supported in remote hosting environments. NVM makes choosing a version of node per-project easy, so we're going to use NVM to install NodeJS and pick the right version. For us, we'll use node version 10.10. The .nvmrc file already has this recorded.

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh | bash

Once NVM is installed, confirm that you have a .nvmrc file in the project's root directory, and that it says v10.10 (if not, please add that to the file!).

Now, let's use nvm to install node v10.10:

nvm use && nvm install

You can read more about NVM here.

AWS CLI

NB: AWS CLI installation is optional for this workshop, but you'll need it when you're ready to deploy your node application.

If you do not have the python package manager, pip, you can install with the following bash:

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

Then, in the directory you installed pip in,

python get-pip.py

Finally, use pip to install the AWS CLI:

pip install awscli

ASK CLI

Although this project is all about Jovo, the ASK CLI is sometimes used under-the-hood, so we want to have this handy for those cases.

npm install -g ask-cli

That's it!

More info on the ASK CLI is available here.

Jovo CLI

The Jovo CLI is used to manage & deploy project files and code. This npm package is required for the workshop.

npm install -g jovo-cli

More info here.

URLs

If you want to get back to this source repo quickly, follow this link.

Start the project

  1. npm install
  2. npm start

// wip Jovo build -t model -p alexaSkill npm run deploy.model

npm start

About

A code-along project where you'll learn to create an Alexa App with Jovo

Resources

License

Stars

Watchers

Forks

Packages

No packages published