GitHub user dosubot[bot] added a comment to the discussion: How to add a new currency
<!-- Answer --> Running just docker compose image up is not enough to apply your changes after editing the CurrencyCode enum. You need to rebuild the frontend assets so your new currency (BRL) appears in the UI. Here’s what you should do: 1. Go to the superset-frontend directory. 2. Install the required packages: npm install webpack npm ci 3. Build the frontend assets: npm run build 4. Restart your Docker containers: docker compose down docker compose up This process ensures your changes are reflected in the running Superset instance. If you’re building the frontend inside Docker, make sure the BUILD_SUPERSET_FRONTEND_IN_DOCKER environment variable is set to true in your docker-compose.yml file. For more details, see the relevant discussion and steps [here](https://github.com/apache/superset/issues/32821) and [here](https://github.com/apache/superset/issues/32187). After these steps, your new currency should be available in the UI. <!-- Dosu Comment Footer --> *To reply, just mention my name [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/98091736-f93b-4890-ad52-45ed45a277f9?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/98091736-f93b-4890-ad52-45ed45a277f9?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/98091736-f93b-4890-ad52-45ed45a277f9?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/98091736-f93b-4890-ad52-45ed45a277f9?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/98091736-f93b-4890-ad52-45ed45a277f9?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/98091736-f93b-4890-ad52-45ed45a277f9?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/98091736-f93b-4890-ad52-45ed45a277f9?feedback_type=other)</sup> [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/33608) GitHub link: https://github.com/apache/superset/discussions/33608#discussioncomment-13300551 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
