Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.09 KB

README.md

File metadata and controls

38 lines (22 loc) · 1.09 KB

Frontend

Config

The client needs to be configured with settings for accessig the API and external services. Please check the .env.default file for required environment variables. Those are set partially by Terraform in GH Secrets, and then passed into the docker images during deployment by GH Actions. Some are managed manually in GH Secrets. Please refer to infrastructure documentation for details.

See HubSpot configuration details.

Run locally

Install

Go to the client/ directory and install the dependencies:

yarn install

Copy the .env.example file to .env.default and fill in the fields with values from LastPass.

Note:

HTTP_AUTH_* and NEXTAUTH_* fields enable temporary auth with a hardcoded user/pass for pre-launch purposes. If all fields are set, a username and password will be required. Auth details are available on LastPass.

Start

Start the client with:

yarn dev

Usage with Docker (recommended)

To run with docker:

docker-compose up --build

Open the app at http://localhost:3000