github-copilot-resources/copilot-metrics-viewer

Cannot display mocked data.

xuhaoruins opened this issue · 3 comments

I am trying to deploy demo site with VUE_APP_MOCKED_DATA=ture in both laptop and Azure environment. But nothing display.

Check if your .env file look like this:

# Determines if mocked data should be used instead of making API calls.
VUE_APP_MOCKED_DATA=true

# Determines the scope of the API calls. 
# Can be 'enterprise' or 'organization' to target API calls to an enterprise or an organization respectively.
VUE_APP_SCOPE=organization

# Determines the enterprise or organization name to target API calls.
VUE_APP_GITHUB_ORG=octodemo

VUE_APP_GITHUB_ENT=

Run the commands described here to run it using npm or a container image.

thanks, I rebuild one. it is worked!

Glad it worked! Closing this down