xbank-www
v0.0.12
Published
Stencil App Starter
Downloads
3
Readme
Xbank Website
Getting Started
To clone the repo:
Recommend Node 10+
git clone https://github.com/georgeadamson/xbank.git
cd xbank
npm install
To run the dev environment locally:
(and to watch for file changes during development)
npm dev
# or to run both the site and the storybook:
npm start
Important: You will need to add the GatherContent API Key in the .env file. You can get this Key from a colleague.
Troubleshooting:
- I get a "process undefined" error when I run the project. Solution: You need to create the .env file. See above.
To run storybook locally:
npm run build
npm run storybook
To build the app for production:
(Builds "static-first" site in the /www
folder for fast page load. This is the same static markup served at https://xbank-dev.netlify.app/ . If we decide to serve static files from AEM then /www
will contain all the files we need to serve.)
npm run build:prerender
To run the unit tests once:
npm test
To run the unit tests and watch for file changes during development:
npm run test:watch