npm i
npm run dev
node create-version -t v2.1.1 -s v2.1.0
Where -t is the target version and -s is the source
This command will setuo everything required to start a new prototype iteration.
- controllers folder will be cloned
- routes file will be clones
- reference in routes file will use new version number
- views folder will be cloned
- index.njk will contain a start section
node remove-version -t v2.1.1
Where -t is the target version to remove
you may need to add
export NODE_EXTRA_CA_CERTS="/etc/ssl/certs/zscaler.pem
to your .zshrc
or bash equivalent in case of cert issues
TEST
GB is set as default journey
- Use ?locale=NI at the end of url to switch to Northern Ireland variants
- This is then stored in your session. You can set it back by using ?locale=GB
- Or delete your session cookie by closing the window, quitting the browser, or clearing cache