ThomasTJdev/nim_websitecreator

Automated install

ThomasTJdev opened this issue · 3 comments

Make an automated install and update for the user.

WIP: https://gist.github.com/ThomasTJdev/2110b891b4620c5f3c9635ccc52db5ad

Goal: curl -sSL https://nimwc.org/install.sh | bash

So it does not install Nim, so the user must have Nim already installed previously,
...then why not use NimScript instead of Bash ❔
🤔

Yeah, otherwise user will be prompted for installing using choosenim.

I just feel pretty limited using NimScript.. would it be possible to achieve the same using NimScript?

We can steal ideas and inspiration from https://github.com/kaushalmodi/nim_config#list-available-tasks
nim_config does complex stuff.

Besides Bash while being kinda universal, its features are not,
Centos and debian stable tend to have very old bash with missing features and commands compared to newer ones.

We can try doing both too.
It should live on the DevOps folder.
🤔