Local Environment Setup
Step 1: Install NVM (Node Version Manager)
- Use
nvm
to managenode
. Follow the install instructions.
Step 2: Clone the VA.gov vets-website
repository
git clone https://github.com/department-of-veterans-affairs/vets-website.git
Step 3: Install Node and Yarn
Install node
:
cd vets-website
nvm install
Install yarn
globally:
npm install -g yarn
Step 4: Install Dependencies and Run vets-website
:
yarn install
yarn watch --env entry=static-pages
To view the app open http://localhost:3001