How to run hungryhub web on local
To run HungryHub web locally:
- Install hh_server.
- Clone
hh-web-new-ui. - Run the following commands:
yarn install
yarn run serve
- Set up the
.envfile 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.
- Clone
hh-fwb. - Run the following commands:
yarn install
yarn dev
- Set up the Vite environment file (
.envin thehh-fwbproject root):
VITE_APP_API_DOMAIN=https://localhost:3001/api/v5
Verify the complete list of required environment variables in the
hh-fwbrepository README or ask the team for the full.envtemplate.