Skip to content

Commit

Permalink
revert enable_build_dashboard env
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao committed Mar 13, 2024
1 parent b52c4f1 commit a540de9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/risedevtool/config/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ pub enum Components {
Tracing,
RustComponents,
BuildConnectorNode,
Dashboard,
Release,
Sanitizer,
DynamicLinking,
Expand All @@ -87,6 +88,7 @@ impl Components {
Self::Redis => "[Component] Redis",
Self::BuildConnectorNode => "[Build] Build RisingWave Connector (Java)",
Self::RustComponents => "[Build] Rust components",
Self::Dashboard => "[Build] Dashboard",
Self::Tracing => "[Component] Tracing: Grafana Tempo",
Self::Release => "[Build] Enable release mode",
Self::Sanitizer => "[Build] Enable sanitizer",
Expand Down Expand Up @@ -131,6 +133,15 @@ Required if you want to create source from Emulated Google Pub/sub.
Required if you want to build compute-node and meta-node.
Otherwise you will need to manually download and copy it
to RiseDev directory."
}
Self::Dashboard => {
"
Required if you want to build dashboard from source.
This is generally not the option you want to use to develop the
dashboard. Instead, directly run `npm run dev` in the dashboard
directory to start the development server, set the API endpoint
to a running RisingWave cluster in the settings page.
"
}
Self::Tracing => {
"
Expand Down Expand Up @@ -194,6 +205,7 @@ As a result, RisingWave will dump the core on panics.
"ENABLE_KAFKA" => Some(Self::Kafka),
"ENABLE_PUBSUB" => Some(Self::Pubsub),
"ENABLE_BUILD_RUST" => Some(Self::RustComponents),
"ENABLE_BUILD_DASHBOARD" => Some(Self::Dashboard),
"ENABLE_COMPUTE_TRACING" => Some(Self::Tracing),
"ENABLE_RELEASE_PROFILE" => Some(Self::Release),
"ENABLE_DYNAMIC_LINKING" => Some(Self::DynamicLinking),
Expand All @@ -215,6 +227,7 @@ As a result, RisingWave will dump the core on panics.
Self::Pubsub => "ENABLE_PUBSUB",
Self::Redis => "ENABLE_REDIS",
Self::RustComponents => "ENABLE_BUILD_RUST",
Self::Dashboard => "ENABLE_BUILD_DASHBOARD",
Self::Tracing => "ENABLE_COMPUTE_TRACING",
Self::Release => "ENABLE_RELEASE_PROFILE",
Self::Sanitizer => "ENABLE_SANITIZER",
Expand Down

0 comments on commit a540de9

Please sign in to comment.