To get started, ensure that you have at least Node v12 installed. You can verify what version you have installed by running
node --version
from your terminal. Then, fork this repository to your personal Github account. As you make changes to the codebase during this workshop you will be pushing your changes to your personal fork. You can learn more about forks here.
Once you have forked this repository, clone your fork to your development machine. Then run the following command using your terminal from the root of the repository to install dependencies.
npm install
With the dependencies installed run the app to verify everything is working correctly.
To run the app execute the following command from your terminal:
npm start
Then in another terminal run:
npm run backend
The app should now be running at http://localhost:4200
To run the Cypress e2e tests execute the following command from your terminal:
npm run test
After cloning the repository, you may need to point NPM to use M&T's Artifactory instance:
npm config set registry http://bar.prod.mtb.com/artifactory/api/npm/mtb-npm
Additionally, you may need to download Cypress directly: https://download.cypress.io
After installing Cypress, you will need to set the CYPRESS_INSTALL_BINARY
to point at the path of the ZIP file you downloaded.