-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Automated script for initial dra download #263
Comments
Hi! While there is no official automated script, I have a script in my dotfiles for that. You can use this modified version to install the deb file: TMP_DIR=$(mktemp --directory)
DEB_FILE="$TMP_DIR/dra.deb"
curl -s https://api.github.com/repos/devmatteini/dra/releases/latest \
| grep "browser_download_url.*_amd64.deb" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -O "$DEB_FILE" -i -
sudo dpkg -i "$DEB_FILE" Since you are not the first user to ask about an automated script like this, I will try to make it when I have time 😄 |
Hi @chad-betamax! I had time to write the script and you can use it now! If you have any question let me know 😄 |
Champion. Worked a charm. |
but there is no git information in windows? |
Can you elaborate more please? I don't understand what you mean |
there is no information about installing git windows in README.md |
I clarified that you need bash to run the install script, thanks. |
why is there no dra version update information? |
You can now find it https://github.com/devmatteini/dra#update-dra Feel free to open a pull request if you think more documentation is missing |
I'm using dra within the just command runner to setup my workstation.
dra fits really well into this workflow - at the moment I use curl and dpkg to download and install dra and then dra itself to download and install the rest of the packages on the box.
Here's the (justfile) process I use now to install dra (and rust)
Obviously that is not going to track the latest release of dra as I had to hardcode the url.
What would be really cool if there was a more automatic way of installing dra (kinda like if I had dra to install dra) similar to how the Rust installer works. In fact the just project has a similar installer
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to ~/bin
.Is something similar possible with dra?
The text was updated successfully, but these errors were encountered: