Installing and setting up Zappa

Before installing Zappa, make sure you have installed Python 3.x.

Let us first install virtualenv. Virtualenv is a tool for creating isolated python environments.

Use pip to install virtualenv (globally or for your user only).

Reference: https://pypi.org/project/virtualenv/

$ pip install virtualenv

Let us create and activate a virtual environment inside our project directory, before installing our other dependencies.

$ mkdir hls-converter-project
$ cd hls-converter-project
$ virtualenv venv
$ . venv/bin/activate

You should now see that your virtual environment is active - command line starting with (venv).

It is now time to install Zappa.

$ pip install zappa
$ zappa init

zappa init will generate a zappa_settings.json file which we will need to update later.