Help your users get started with your solution by providing them the first steps in using your newly deployed bundle or charm. The latest release of the Juju GUI now displays a rendered markdown file to the user after deploying a bundle or charm with a getstarted.md file.
Adding this functionality to your bundle deployments couldn’t be easier. Simply add a getstarted.md file to the root of your bundle archive with valid markdown and it will be rendered after the deployment has started.
The getstarted.md file should include the users next steps, and to help you build the best guide possible. We have outlined a few best practices below.
- State prerequisites upfront so they don’t start down a path they can’t finish.
- List the minimum number of steps that they should follow to see the charm working at some level of success. e.g get your users to a web dashboard or a REPL. We suggest using fewer than 10 steps.
- Give your user links to sensible next steps. Link to external resources, most important first.
Extra points to keep in mind
- Remember your user is in the GUI.
- Start instruction with verbs – write in the imperative tense.
- Write the simplest actions. Concentrate on what they need to do to get started.
- Use code blocks for CLI commands.
- Use the format of machines, protocols, and full paths to make reaching the most important endpoints of your application obvious.