From 79fa5a0ca56bea4bdf67f5c445fa05127e3c3f1e Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 4 Jan 2024 17:46:29 -0600 Subject: [PATCH] Website: Update instructions on fleetctl preview page (#15878) Closes: https://github.com/fleetdm/fleet/issues/14985 Changes: - Removed `sudo` from the commands on the /fleetctl-preview page and removed the notes about Rosetta and `sudo` --- website/assets/styles/pages/fleetctl-preview.less | 2 +- website/views/pages/fleetctl-preview.ejs | 15 ++------------- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/website/assets/styles/pages/fleetctl-preview.less b/website/assets/styles/pages/fleetctl-preview.less index a44190cfd8..6690005026 100644 --- a/website/assets/styles/pages/fleetctl-preview.less +++ b/website/assets/styles/pages/fleetctl-preview.less @@ -28,7 +28,7 @@ padding: 24px; border: 1px solid @core-fleet-black-25; border-radius: 4px; - margin: 16px 0px 32px; + margin: 16px 0px 0px; background: @ui-off-white; p { color: @core-fleet-black; diff --git a/website/views/pages/fleetctl-preview.ejs b/website/views/pages/fleetctl-preview.ejs index f55709581a..ae64aecf5c 100644 --- a/website/views/pages/fleetctl-preview.ejs +++ b/website/views/pages/fleetctl-preview.ejs @@ -28,21 +28,10 @@

Install the fleetctl command line tool and start the Fleet preview experience:

# Install the Fleet command-line tool

-

sudo npm install -g fleetctl

+

npm install -global fleetctl

# Run a local demo of the Fleet server

-

sudo fleetctl preview

+

fleetctl preview

- -

A small circle with an 'I' inside of itsudo can be omitted on many Node/Docker installations.

-

A small circle with an 'I' inside of itM1 macOS users must have Rosetta installed in order to - run Fleet preview.

-

A small circle with an 'I' inside of itWindows users should omit sudo and run the commands in Cmd/PowerShell as administrators.

3. Log in to Fleet