Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Onboarding experience #1

Open
Falanwe opened this issue Nov 25, 2024 · 0 comments
Open

Onboarding experience #1

Falanwe opened this issue Nov 25, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request feature Something is missing

Comments

@Falanwe
Copy link
Member

Falanwe commented Nov 25, 2024

The following is a work-in progress proposal for the installation experience of a development Stormancer cluster

Stormancer local server installation experience

Prerequisites

You need a version of the Dotnet SDK installed on your computer

Tool Installation

First you need to install the Stormancer Dotnet tool.
To install it to the current folder, run

dotnet tool install Sormancer.CLI

You can use the --global argument to install it globally instead of for your current folder, and specify a specific version with the --version argument.

dotnet tool install --global Stormancer.CLI --version 5.3.3

Tou can find a list of all published versions at https://www.nuget.org/packages/Stormancer.CLI

Local server setup

To setup your Stormancer local server, just run

dotnet tool run stormancer setup

This will ask you to login to stormancer.com to configure your cluster's security, then will create configuratin files appropriate for most development scenarios.

This will create the following files in the current folder
-bootstrapper.config.json: This file includes location for working directories of the stormancer cluster, as well as references to the Stormancer cluster plugins to use in the latest version.
-default.json: this file contains the configuration of you development node

Additional arguments can be provided to customize your Installation

--directory

The directory to install your stormancer development cluster in
default value is .

--no-security

Disable security features, exempting you from connecting to an identity provider

--identity-provider

You can specify a custom identity provider to secure your cluster (syntax to be determined)

--node-count

You can specify a custom node count to test your applications in a multi-node environement. All nodes will still run in the same process
Node configuration files will be named default-i, with i ranging from 1 to the number of nodes specified
Default value is 1

Starting your cluster

To start your cluster, in the cluster folder, simply run the command

dotnet tool run stormancer start

Managing your cluster

To manage the cluster, open your browser to the page http://localhost:(port_to_determine) while the cluster is running. This website will ask you to log in using the identity provider of your choice (by default stormancer.com)

Starting your cluster as a service

To register your Stormancer cluster as a background service and start it, run the command

dotnet tool run stormancer setup service

@Falanwe Falanwe added enhancement New feature or request feature Something is missing labels Nov 25, 2024
@Falanwe Falanwe self-assigned this Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature Something is missing
Projects
None yet
Development

No branches or pull requests

1 participant