- Introduction
- Requirements
- Installation
- Usage
- Building the Project
- Testing
- Contribution Guidelines
- License
Fallback is a webform that can trigger deployment of our main website's pipeline to one of our environments. This project is intended to be used as a fallback mechanism when Slack is unavailable. The live version of the project can be found here. Note, this application is deshigned to be used by the Web Team; working creditionals are needed.
- Node.js v14.x or higher
- NPM v7.x or higher
- Clone the repository:
git clone https://github.com/NHS-digital-website/fallback.git
- Change directory:
cd fallback
- Install dependencies:
npm install
To run the development server:
npm run dev
The application will then be served from http://localhost:5173/fallback
.
To build the project, run:
npm run build
This will generate a dist/
directory containing the compiled assets ready for deployment.
To run unit tests:
npm run test:unit:
The main branch is protected. All changes must be done via a pull request (PR).
Fork the repository.
- Create a new feature branch.
- Make your changes and commit them.
- Push the branch to your fork.
- Open a pull request targeting the main branch for review.
This project is licensed under the MIT License - see the LICENSE file for details.