webinstall / webi-installer-requests

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

[Installer] Add Zola #6

Open coolaj86 opened 3 years ago

coolaj86 commented 3 years ago

Add Zola

We want to add zola because...

It's a static-site-generator written in rust that works consistently across Windows, Mac, and Linux.

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

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)

Tiparium commented 3 years ago

Can I take this?

coolaj86 commented 3 years ago

@Tiparium Do it!

Tiparium commented 3 years ago

@coolaj86 I have been encountering an issue where upon running bash install-zola.sh I get the following:

Saved as /c/Users/Tiparium/Downloads/zola-v0.13.0-x86_64-pc-windows-msvc.zip Extracting /c/Users/Tiparium/Downloads/zola-v0.13.0-x86_64-pc-windows-msvc.zip Installing to /c/Users/Tiparium/.local/opt/zola-v0.13.0/bin/zola install-zola.sh: line 225: /c/Users/Tiparium/.local/bin/webi: No such file or directory

This seems identical to the problem Onwuvic was having on adding gh. I've pinged them as well to see if they solved this issue. In both cases the error is occurring in the generated install-[item].sh script, while trying to install pathman. Is this something I'm doing wrong?

coolaj86 commented 3 years ago

@Tiparium Did you figure this out? It sounds like you hadn't installed webi first: curl https://webinstall.dev | bash.

CynthiaArmstrong commented 1 year ago

@Tiparium, are you still working on this?

Tiparium commented 1 year ago

Apologies, no I forgot about it quite a while ago.

On Fri, Aug 11, 2023, 2:21 PM CynthiaArmstrong @.***> wrote:

@Tiparium https://github.com/Tiparium, are you still working on this?

— Reply to this email directly, view it on GitHub https://github.com/webinstall/webi-installer-requests/issues/6#issuecomment-1675414681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEXEZBNVAFDHJYBFQ7VSGO3XU2O57ANCNFSM6AAAAAAYWOKP4U . You are receiving this because you were mentioned.Message ID: @.***>