Skip to content

Commit

Permalink
Merge pull request #1308 from govuk-one-login/BAU/shutdown-script
Browse files Browse the repository at this point in the history
BAU: Add shutdown script for local application.
  • Loading branch information
dbes-gds authored Feb 6, 2024
2 parents c81a7fd + cb4b742 commit 30c6afb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pre-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ pre-commit run --all-files
yarn test:unit

REDIS_PORT=6389 REDIS_HOST=localhost yarn test:integration

./shutdown.sh
5 changes: 5 additions & 0 deletions shutdown.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

echo "Stopping frontend services..."
docker-compose down
killall node || echo "No local running node processes stopped..."

0 comments on commit 30c6afb

Please sign in to comment.