We need to do the normal Python dance: make a virtual environment and install our dependencies. We also need to download the two files from Hyperapp.
We want to show going an extra step and get the packages for a development environment that matches some of the webpack-devserver auto-build/reload.
This one is obvious:
$ python3 -m venv .env $ .env/bin/pip install --upgrade pip setuptools
We need Transcrypt, obviously. We’re also going to use Bottle connected to
livereload package to watch for changes and reload the
We’re picking a specific livereload version to avoid a bug.
Let’s also get our two JS files, Hyperapp itself and a Hyperapp HTML helper package (as an alternative to JSX):
$ wget https://firstname.lastname@example.org/dist/hyperapp.js $ wget https://unpkg.com/@email@example.com/dist/hyperappHtml.js