Copy the file env-example.sh to
env.sh. Set the
MEDIA_HUB exports to the url's of where those are running (if you're developing locally then just leave the defaults, as those services should default to those ports when running).
Install the needed npm packages:
Start the local development server:
The shell script merely provides the appropriate environment variables for whatever is specified after it.
The default gulp task handles a number of things for us:
- copying the js/html/css to a
- starting up a local webserver to serve it with
- watching filesystem for changes, then bundling and copying again
However, you can easily deploy it elsewhere. Just run the
build-dist gulp command:
env.sh gulp build-dist
The copy the contents of
dist/ to whereever you'd like to host the files.