From ff97a839b844bcd559c9c3057b5a47f09ece07d5 Mon Sep 17 00:00:00 2001 From: Azareal Date: Sun, 23 Jun 2019 15:59:54 +1000 Subject: [PATCH] Eliminate a mv in the installation tutorials and add a missing cd in the advanced installation steps. --- .travis.yml | 4 ++-- docs/installation.md | 14 ++++++-------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index b68af36d..fa9ffcb1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,8 +8,8 @@ go: - master before_install: - cd $HOME - - git clone https://github.com/Azareal/Gosora - - cd Gosora + - git clone https://github.com/Azareal/Gosora gosora + - cd gosora - chmod -R 0777 . - mv ./config/config_example.json ./config/config.json - ./update-deps-linux diff --git a/docs/installation.md b/docs/installation.md index 47302960..a27bd719 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -17,11 +17,9 @@ First, we need somewhere for the software to live, if you're familiar with Linux First, we'll navigate to our home folder by typing: `cd ~` -And then, we'll going to pull a copy of Gosora off the git server with: `git clone https://github.com/Azareal/Gosora` +And then, we'll going to pull a copy of Gosora off the git server with: `git clone https://github.com/Azareal/Gosora gosora` -And now, we're going to rename the downloaded folder from Gosora to gosora because the uppercase letter bugs me with: `mv Gosora gosora` - -We can now hop into that folder with the same command we used for getting to the home folder: +We can now hop into the newly created folder with the same command we used for getting to the home folder: `cd gosora` @@ -62,9 +60,7 @@ Type in a strong password for the `gosora` user, please oh please... Don't use " `cd gosora` -`git clone https://github.com/Azareal/Gosora` - -`mv Gosora src` +`git clone https://github.com/Azareal/Gosora src` `chown -R gosora ../gosora` @@ -114,7 +110,9 @@ Linux is similar, however you might need to use cd and mv a bit more like in the You also need to substitute the `gosora.exe` bits for `./Gosora` on Linux. For more info, you might want to take a gander inside the `./run-linux` and `./install-linux` shell files to see how they're implemented. ```bash -git clone https://github.com/Azareal/Gosora +git clone https://github.com/Azareal/Gosora gosora + +cd gosora go get -u github.com/mailru/easyjson/...