Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

How to run hungryhub web on local

To run HungryHub web locally:

  1. Install hh_server.
  2. Clone hh-web-new-ui.
  3. Run the following commands:
yarn install
yarn run serve
  1. Set up the .env file in the project root:
VUE_APP_API_DOMAIN=http://localhost:3001
VUE_APP_SUB_WEB_DOMAIN=http://localhost:3000
VUE_APP_FACEBOOK_APP_ID=913909575796864
VUE_APP_ZENDESK_KEY=24a02902-248a-47a9-b5bf-eceda7cdecd3
VUE_APP_RECAPTCHA_SITE_KEY=6Leww8UZAAAAAHCuZpKvYXddb3SLRKGKeTLGkbnw
VUE_APP_CLEVERTAP_ID=TEST-94W-R8R-955Z
VUE_APP_PUBLIC_PATH=/

Note: The Firebase-related keys above use the staging Firebase configuration. Do not use production Firebase keys for local development.

  1. Clone hh-fwb.
  2. Run the following commands:
yarn install
yarn dev
  1. Set up the Vite environment file (.env in the hh-fwb project root):
VITE_APP_API_DOMAIN=https://localhost:3001/api/v5

Verify the complete list of required environment variables in the hh-fwb repository README or ask the team for the full .env template.