MichaelCurrin / docsify-js-tutorial

Build a Markdown-based docs site using DocsifyJS and GH Pages 👩‍🏫 🏗 📒 🕸
https://michaelcurrin.github.io/docsify-js-tutorial/#/
MIT License
38 stars 39 forks source link

Add quickstart steps with curl and bash #4

Open MichaelCurrin opened 4 years ago

MichaelCurrin commented 4 years ago

Use bash script with curl. This makes it easy for people using the project for the first time. And means you don't need to clone to keep your clone updated, or specify paths to files.

This could be done with a script that depends on a local directory, but this is more fragile (not portable on machines and requires exact path and cloned repo). And its only advantage over curl approach is speed.

MichaelCurrin commented 4 years ago

Additionally, add a REPL for taking config details (or create a temporary config file from a template), then using bash to replace the configurable items

MichaelCurrin commented 4 years ago

Or use a form and a web-generated codeblock. Which is probably more code than it is worth