Front-end templating, build, and deploy for VA.gov CMS content.
Prerequisites
- VA SOCKS access
- NVM for node version management
- Yarn for package management
You should set these up before attempting to install the repo.
-
Clone the repo if you haven't.
[email protected]:department-of-veterans-affairs/next-build.git
-
Run
yarn install
. -
Copy
.env.example
to.env.local
. This is a reasonable set of environment defaults for local development. -
Make sure your SOCKS access is running.
-
Run
yarn dev
.
You will now have a Next.js development server running at http://localhost:3000, which will refresh with changes to your local environment.