question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add install script

See original GitHub issue

The feature request

The install script will automatically follow the install instructions in README.md, and it should execute code based on existing cmds (IIRC, there’s a cmd to check if another cmd is found in the PATH).

Since the script is the same regardless of release version, it shouldn’t be located in GH-releases (although a link in the description may be helpful). Instead I propose that the script should be at the repo root

Proposed solution

from #797

Additional context

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:10

github_iconTop GitHub Comments

2reactions
mwtcommented, Oct 17, 2022

You can use this as a starting point if you want:

wget -qO- "https://mirror.mwt.me/ghd/install.sh" | sudo sh

It’s based off this gist: https://gist.github.com/mwt/1bc605c6fbcef451142cf145b8518439

1reaction
mwtcommented, Nov 14, 2022

Feel free to copy and paste this and edit as you want:

https://gist.github.com/mwt/1bc605c6fbcef451142cf145b8518439

I release this under the BSD 2-clause license.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Install-Script (PowerShellGet) - PowerShell | Microsoft Learn
The Install-Script cmdlet acquires a script payload from a repository, verifies that the payload is a valid PowerShell script, and copies the script...
Read more >
Creating Installation Scripts
This book provides step-by-step instructions and relevant background information for designing, building, and verifying packages.
Read more >
scripts - npm Docs
To create "pre" or "post" scripts for any scripts defined in the "scripts" section of the package.json , simply create another script with...
Read more >
Install a Script - Softaculous
This tutorial will show you how to install a script in Softaculous. I will be taking an example of WordPress which is a...
Read more >
Creating and using InstallScripts (Steamworks Documentation)
Integrating Install Scripts into Your Build ... First, the install script file must be part of a depot that is installed with the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found