atst/script/bootstrap

17 lines
334 B
Bash
Executable File

#!/bin/bash
# If a command fails, exit the script
set -e
# Ensure we are in the app root directory (not the /script directory)
cd "$(dirname "${0}")/.."
# Activate virtual environment
source .venv/bin/activate
# Install Python dependencies
pip install -r requirements.txt
# Install uswds node module and dependencies
npm install