webinstall / webi-installer-requests

This is just to house issues for requests for new Webi installers.
Mozilla Public License 2.0
5 stars 7 forks source link

[Installer] Add step cli (a.k.a smallstep) #47

Open coolaj86 opened 2 years ago

coolaj86 commented 2 years ago

Add step

https://github.com/smallstep/cli/releases

We want to add step because, it's an awesome swiss-army knife of security tools available across Windows, Mac, and Linux.

This should be about as simple as copying _example, updating the github releases info, and doing a find and replace on a few file system path names.

Note: Replace the CHANGE_MEs with links to smallstep repo, readme, etc as appropriate.

How to create a webi installer

Video Tutorial: How to create a webi Installer

Skills required

Steps

  1. Clone and setup the webi packages repo
    git clone git@github.com:webinstall/packages.git
    pushd packages/
    npm install
  2. Copy the example template and update with info from Official Releases: https://github.com/___CHANGE/ME___/releases
    rsync -av _example/ CHANGE-ME/
    • [ ] update CHANGE-ME/release.js to use the official repo
    • [ ] Learn how CHANGE-ME unpacks (i.e. as a single file? as a .tar.gz? as a .tar.gz with a folder named CHANGE-ME?)
    • [ ] find and replace to change the name
      • [ ] update CHANGE-ME/install.sh (see bat and jq as examples)
      • [ ] update CHANGE-ME/install.ps1 (see bat and jq as examples)
  3. Needs an updated tagline and cheat sheet
    • [ ] update CHANGE-ME/README.md
      • [ ] official URL
      • [ ] tagline
      • [ ] Switch versions
      • [ ] description / summary
      • [ ] General pointers on usage (and perhaps "gotchas")

It's also okay to have multiple people work on part of this (i.e. the Cheat Sheet can be done independently from the install.sh)

libChan commented 2 years ago

Can I work on this issue? a new beginer :)

coolaj86 commented 2 years ago

@libChan That's up to you to decide. You're free to try. Let me know.

coolaj86 commented 2 years ago

@libChan If you want one that's really easy, check this out: https://github.com/webinstall/webi-installers/issues/221

fjshomeplate commented 2 years ago

Can I work on this issue please?

coolaj86 commented 2 years ago

@fjshomeplate Yes, please do!

fjshomeplate commented 2 years ago

I have the installer script working, but it doesn't add the package to the PATH. Is this intended?

coolaj86 commented 2 years ago

@fjshomeplate When combined with the bootstrap script when it's live, it should add the package to the PATH via pathman.

You shouldn't need to do anything for that to Just Work™, unless the paths in the install file are wrong (in which case it probably wouldn't install anyway).