Enrichment (#1220)

* Debug TID

* Use new TID from wrapped install script

* Add as script param
This commit is contained in:
Jamil
2022-12-20 22:20:30 -06:00
committed by GitHub
parent ed6784d598
commit 25e7de4f24
6 changed files with 25 additions and 9 deletions

View File

@@ -49,9 +49,7 @@ After prerequisites are satisfied, you're ready to install the Firezone Server.
The easiest way to deploy Firezone with Docker is the automatic install script:
```bash
bash <(curl -fsSL https://github.com/firezone/firezone/raw/master/scripts/install.sh)
```
<InstallBlock />
This will ask you a few questions regarding initial configuration, then proceed
to download a sample docker-compose.yml file, configure it with your responses,

View File

@@ -0,0 +1,15 @@
import React from "react";
import CodeBlock from '@theme/CodeBlock';
export default function InstallBlock() {
let distinct_id = window.posthog.get_distinct_id()
return (
<div>
<CodeBlock
language="bash">
{`bash <(curl -fsSL https://github.com/firezone/firezone/raw/master/scripts/install.sh) ${distinct_id}`}
</CodeBlock>
</div>
);
}

View File

@@ -1,5 +1,6 @@
// Import the original mapper
import MDXComponents from "@theme-original/MDXComponents";
import InstallBlock from "@site/src/components/InstallBlock";
import AccentBlock from "@site/src/components/AccentBlock";
import Feedback from "@site/src/components/Feedback";
import SignUp from "@site/src/components/SignUp";
@@ -11,6 +12,7 @@ export default {
...MDXComponents,
// Map the "highlight" tag to our <Highlight /> component!
// `Highlight` will receive all props that were passed to `highlight` in MDX
InstallBlock: InstallBlock,
accentblock: AccentBlock,
feedback: Feedback,
newsletter: SignUp,