Skip to content

Boilerplate for a repo with quickstart supporting `curl | bash` syntax

License

Notifications You must be signed in to change notification settings

andylytical/quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

quickstart

Boilerplate for a repo with quickstart supporting curl | bash syntax

Quick Start

  • In your repo:
    • Create a file called setup.sh at the base of your repo
      • This bash script should do all the work of installing your repo
      • Ensure setup.sh is executable
    • Copy the lines below into your README
    • Replace QS_GIT_REPO with your repo url
export QS_GIT_REPO=https://github.com/andylytical/quickstart
#export QS_GIT_BRANCH=branch_name  #optional - specify a branch other than main
curl https://raw.githubusercontent.com/andylytical/quickstart/main/quickstart.sh | bash

Example Usage

export QS_GIT_REPO=https://github.com/andylytical/quickstart
#export QS_GIT_BRANCH=branch_name  #optional - specify a branch other than main
curl https://raw.githubusercontent.com/andylytical/quickstart/main/quickstart.sh | bash
  • Copy/paste the above lines in your Bash terminal window
  • Expected output:
Hello from '/tmp/tmp.81DzXvvQ6s/setup.sh'
Install dir: '/home/aloftus/junk'
Nothing else to do.

About

Boilerplate for a repo with quickstart supporting `curl | bash` syntax

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages