basecamp / kamal-site

kamal-deploy.org
https://kamal-deploy.org
41 stars 46 forks source link

Create install.sh #3

Closed kjellberg closed 4 months ago

kjellberg commented 1 year ago

This PR introduces a new installation script that simplifies the installation of mrsk. The script pulls the latest Docker image, creates a ~/.mrsk/bin directory, adds it to the PATH environment variable, and creates a mrsk binary file that runs the Docker image with the appropriate flags and arguments. The script can be used on any platform that supports Docker, without requiring Ruby to be installed first. https://github.com/mrsked/mrsk/issues/62

Test

To test this new installation script, run the following command in your terminal:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/kjellberg/mrsk/docker-install-script/scripts/install.sh)"

Usage (after merge)

/bin/bash -c "$(curl -fsSL https://mrsk.dev/install.sh)"
connordoner commented 1 year ago

As this repo is for the mrsk.dev website, I think this should be in mrsked/mrsk instead.