ThomasTJdev / nim_websitecreator

Nim fullstack website framework - deploy a website within minutes
https://nimwc.org
MIT License
176 stars 7 forks source link

Automated install #92

Closed ThomasTJdev closed 5 years ago

ThomasTJdev commented 5 years ago

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

juancarlospaco commented 5 years ago

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

ThomasTJdev commented 5 years ago

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?

juancarlospaco commented 5 years ago

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. :thinking: