Browse Source

Updated read me a bit regards to bit changes

Joachim M. Giæver 7 years ago
parent
commit
b870073f84
1 changed files with 20 additions and 12 deletions
  1. 20 12
      README.md

+ 20 - 12
README.md

@@ -1,22 +1,30 @@
-# Short how to
+Short how to
+===
 
 * Get access to an account. If you want one, send me an email at joachim```... something ...```giaever.org.
 
-* Please note the following:
-	* When loggin in to change your password(link below), you must use the username: ```<username>.git```
-	* When loggin in everywhere else (through git or this website) you must use: ```<username>```, without .git.
-	* The password is the same at everywhere.
+# THIS IS OUT-DATED
+Regards to the change in software where we now support https and ssh with git, and every repository is managed on-site and not back-end through XML-RPC anymore. BY NOW: Use it as you would have used GitHub, and if you're stuck - search for it on Google. Happy go lucky!
 
-* Log in to your account and select "Repo management" to create your first repo. Rememeber that if you choose "Anonymous read access?", anybody will have read access to your repo, and it will be visible to all users through the website's frontpage. Instead you should consider approve another user to access your repo.
-* NOTE! Your repo may be renamed to contain your username, or some part of it. E.g ```Username```-```repo name```.git
+## Where's my old repos?
+- Dont worry! I will add them to the new site. Just be patient.
 
-[![Management](http://bildr.giaever.org/b/thumb/scr100540.png)](http://bildr.giaever.org/b/scr100540.png)
-[![Manage existing repo](http://bildr.giaever.org/b/thumb/scr100634.png)](http://bildr.giaever.org/b/scr100634.png)
-[![Give access to a user](http://bildr.giaever.org/b/thumb/scr100725.png)](http://bildr.giaever.org/b/scr100725.png)
 
+## Do I need keys now?
+- Yes you do, so please read
+    * [how to generate keys](https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/) on GitHub (but dont add it there, so skip step 3 in Adding your SSH key...)
+    * Print and copy your key:
+        ```bash
+        cat ~/.ssh/KEYNAME                      # change KEYNAME to what you chose in previous step
+        sudo apt-get install xclip              # Install xclip
+        xclip -sel clip < ~/.ssh/KEYNAME.pub    # change KEYNAME and continue to next step
+        ```
+    * and [add your key here](https://git.giaever.org/user/settings/ssh) (login required)
+
+# Outdated info:
 * Clone your repo, to your local disk (```note``` the extra /git-directory):
 ```
-$ git clone https://<username without .git>@git.giaever.org/git/<repo name>.git/
+$ git clone "repo url: either ssh or https>"
 ```
 * Browse into the directory you just cloned, and update
 ```
@@ -48,4 +56,4 @@ You need to be approved to get an GIT account here, and there is no such thing a
 But if your looking for a place to [change your password](https://server.marthins1.no:20000/) your can do it [here](https://server.marthins1.no:20000/). But if you've forgotten it. Msg me ;)
 
 ## Why dont use Github?
-Well. First of all it "cost money" (if you need several private repos), and if you have the knowlegde; why pay for it? :) Since I'm (and probably the users of this GIT) mostly can't share our code, its better to have our own solution which we can adapt to our needs.
+Well. First of all it "cost money" (if you need several private repos), and if you have the knowlegde; why pay for it? :) Since I'm (and probably the users of this GIT) mostly can't share our code, its better to have our own solution which we can adapt to our needs.