webi-installers icon indicating copy to clipboard operation
webi-installers copied to clipboard

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

Open coolaj86 opened this issue 4 years ago • 7 comments

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

  • Basic Command Line knowledge (mkdir, mv, ls, tar, unzip, variables)

Steps

  1. Clone and setup the webi packages repo
    git clone [email protected]: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)

coolaj86 avatar Nov 24 '21 01:11 coolaj86

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

libChan avatar Dec 04 '21 05:12 libChan

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

coolaj86 avatar Dec 05 '21 05:12 coolaj86

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

coolaj86 avatar Dec 05 '21 05:12 coolaj86

Can I work on this issue please?

fjshomeplate avatar Mar 26 '22 20:03 fjshomeplate

@fjshomeplate Yes, please do!

coolaj86 avatar Mar 28 '22 08:03 coolaj86

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

fjshomeplate avatar Mar 29 '22 10:03 fjshomeplate

@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).

coolaj86 avatar Apr 05 '22 17:04 coolaj86