exoframe-template-nginx-alpine-spa
v0.1.4
Published
NGINX (nginx:alpine-stable) deployment template, configured for Single Page Applications routing, for exoframe
Downloads
1
Readme
exoframe-template-nginx-alpine-spa
NGINX (nginx:alpine-stable) deployment template, configured for Single Page Applications routing, for exoframe.
Usage
# Install the template into exoframe (needs to be installed globally, or use npx exoframe instead)
$ echo "exoframe-template-nginx-alpine-spa" | exoframe template
# Change directory to static website to deploy with SPA support (React, Vue, etc)
$ cd ./static_website
# Changes template to this one
$ jq '.template |= "exoframe-template-nginx-alpine-spa"' json | tee exoframe.json
# Enjoy :)
$ exoframe deploy --update # (or no --update; as you wish)