From 9c5c17b6292abaa78bc606e533eee02382035e6b Mon Sep 17 00:00:00 2001 From: Luca Mayer Date: Sun, 1 Sep 2019 18:36:49 +0200 Subject: [PATCH 1/3] init commit How to download via command line without GUI --- en-US/installation/download-commandline.md | 135 +++++++++++++++++++++ 1 file changed, 135 insertions(+) create mode 100644 en-US/installation/download-commandline.md diff --git a/en-US/installation/download-commandline.md b/en-US/installation/download-commandline.md new file mode 100644 index 00000000..2edbec0c --- /dev/null +++ b/en-US/installation/download-commandline.md @@ -0,0 +1,135 @@ +# Downloading Gogs via commandline + +Requirements: [curl](https://wikipedia.org/wiki/CURL), [wget](https://wikipedia.org/wiki/Wget) + +Simply copy & Paste the command to your terminal. +If any errors accure please file an issue so we can fix it. + +* darwin_amd64.zip + +```bash +curl -s https://api.github.com/repos/gogs/gogs/releases/latest \ +| grep "darwin_amd64.zip" \ +| cut -d : -f 2,3 \ +| tr -d \" \ +| wget -i - +``` +* linux_386.tar.gz + +```bash +curl -s https://api.github.com/repos/gogs/gogs/releases/latest \ +| grep "linux_386.tar.gz" \ +| cut -d : -f 2,3 \ +| tr -d \" \ +| wget -i - +``` + +* linux_386.zip + +```bash +curl -s https://api.github.com/repos/gogs/gogs/releases/latest \ +| grep "linux_386.zip" \ +| cut -d : -f 2,3 \ +| tr -d \" \ +| wget -i - +``` + +* linux_amd64.tar.gz + +```bash +curl -s https://api.github.com/repos/gogs/gogs/releases/latest \ +| grep "linux_amd64.tar.gz" \ +| cut -d : -f 2,3 \ +| tr -d \" \ +| wget -i - +``` + +* linux_amd64.zip + +```bash +curl -s https://api.github.com/repos/gogs/gogs/releases/latest \ +| grep "linux_amd64.zip" \ +| cut -d : -f 2,3 \ +| tr -d \" \ +| wget -i - +``` + +* linux_armv5.zip + +```bash +curl -s https://api.github.com/repos/gogs/gogs/releases/latest \ +| grep "linux_armv5.zip" \ +| cut -d : -f 2,3 \ +| tr -d \" \ +| wget -i - +``` + +* linux_armv6.zip + +```bash +curl -s https://api.github.com/repos/gogs/gogs/releases/latest \ +| grep "linux_armv6.zip" \ +| cut -d : -f 2,3 \ +| tr -d \" \ +| wget -i - +``` + +* raspi_armv7.tar.gz + +```bash +curl -s https://api.github.com/repos/gogs/gogs/releases/latest \ +| grep "raspi_armv7.tar.gz" \ +| cut -d : -f 2,3 \ +| tr -d \" \ +| wget -i - +``` + +* raspi_armv7.zip + +```bash +curl -s https://api.github.com/repos/gogs/gogs/releases/latest \ +| grep "raspi_armv7.zip" \ +| cut -d : -f 2,3 \ +| tr -d \" \ +| wget -i - +``` + +* windows_386.zip + +```bash +curl -s https://api.github.com/repos/gogs/gogs/releases/latest \ +| grep "windows_386.zip" \ +| cut -d : -f 2,3 \ +| tr -d \" \ +| wget -i - +``` + +* windows_386_mws.zip + +```bash +curl -s https://api.github.com/repos/gogs/gogs/releases/latest \ +| grep "windows_386_mws.zip" \ +| cut -d : -f 2,3 \ +| tr -d \" \ +| wget -i - +``` + +* windows_amd64.zip + +```bash +curl -s https://api.github.com/repos/gogs/gogs/releases/latest \ +| grep "windows_amd64.zip" \ +| cut -d : -f 2,3 \ +| tr -d \" \ +| wget -i - +``` + +* windows_amd64_mws.zip + +```bash +curl -s https://api.github.com/repos/gogs/gogs/releases/latest \ +| grep "windows_amd64_mws.zip" \ +| cut -d : -f 2,3 \ +| tr -d \" \ +| wget -i - +``` From 564b3fb538c4d3819a74e1582cf22df653429121 Mon Sep 17 00:00:00 2001 From: Luca Mayer Date: Sun, 1 Sep 2019 18:41:28 +0200 Subject: [PATCH 2/3] add download commandline --- en-US/installation/install_from_binary.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/en-US/installation/install_from_binary.md b/en-US/installation/install_from_binary.md index cbc0dbe3..c510fcd5 100644 --- a/en-US/installation/install_from_binary.md +++ b/en-US/installation/install_from_binary.md @@ -21,6 +21,8 @@ To go further, see [Configuration and run](/docs/installation/configuration_and_ Below are links to downloads for the latest releases. Older downloads can be found at [releases](https://github.com/gogs/gogs/releases). +Learn about [downloading Gogs via commandline](/docs/en-US/installation/download-commandline.md) (without GUI) + ### 0.11.91 @ 2019-08-11 |System|Type|SQLite|PAM|Download ([GitHub](https://github.com/gogs/gogs/releases/tag/v0.11.91))| From 03e7bb25da1539af4a530d5ae8dce0e5c54554ab Mon Sep 17 00:00:00 2001 From: Luca Mayer Date: Sun, 1 Sep 2019 18:43:00 +0200 Subject: [PATCH 3/3] update cmd line download url --- en-US/installation/install_from_binary.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en-US/installation/install_from_binary.md b/en-US/installation/install_from_binary.md index c510fcd5..47803d21 100644 --- a/en-US/installation/install_from_binary.md +++ b/en-US/installation/install_from_binary.md @@ -21,7 +21,7 @@ To go further, see [Configuration and run](/docs/installation/configuration_and_ Below are links to downloads for the latest releases. Older downloads can be found at [releases](https://github.com/gogs/gogs/releases). -Learn about [downloading Gogs via commandline](/docs/en-US/installation/download-commandline.md) (without GUI) +Learn about [downloading Gogs via commandline](/docs/installation/download-commandline.md) (without GUI) ### 0.11.91 @ 2019-08-11