... | @@ -13,7 +13,7 @@ |
... | @@ -13,7 +13,7 @@ |
|
|
|
|
|
* [Introduction](#introduction)
|
|
* [Introduction](#introduction)
|
|
* [Introduction to Git](#introduction-to-github)
|
|
* [Introduction to Git](#introduction-to-github)
|
|
* [Our Gitlab's account](#our-githubs-account)
|
|
* [Our Github's account](#our-githubs-account)
|
|
* [Playing with repositories](#playing-with-repositories)
|
|
* [Playing with repositories](#playing-with-repositories)
|
|
* [Wikis](#wikis)
|
|
* [Wikis](#wikis)
|
|
* [Downloading all the files in a repo](#downloading-all-the-files-in-a-repo)
|
|
* [Downloading all the files in a repo](#downloading-all-the-files-in-a-repo)
|
... | @@ -52,12 +52,12 @@ Modern **programming projects** have thousand of lines of code and hundred of ** |
... | @@ -52,12 +52,12 @@ Modern **programming projects** have thousand of lines of code and hundred of ** |
|
|
|
|
|
Currently, the two most used controls systems are [Github](https://github.com/) and [GitLab](https://gitlab.com/). Both are based on the **opensource** engine called [git](https://es.wikipedia.org/wiki/Git), developed in 2005 by [Linux Torvalds](https://es.wikipedia.org/wiki/Linus_Torvalds), the creator of the [Linux Kernel](https://en.wikipedia.org/wiki/Linux_kernel)
|
|
Currently, the two most used controls systems are [Github](https://github.com/) and [GitLab](https://gitlab.com/). Both are based on the **opensource** engine called [git](https://es.wikipedia.org/wiki/Git), developed in 2005 by [Linux Torvalds](https://es.wikipedia.org/wiki/Linus_Torvalds), the creator of the [Linux Kernel](https://en.wikipedia.org/wiki/Linux_kernel)
|
|
|
|
|
|
In this **course** we will use **Gitlab**
|
|
In this **course** we will use **Github**
|
|
|
|
|
|
### Your Gitlab's account
|
|
### Your Github's account
|
|
|
|
|
|
* Create your account on [Gitlab](https://gitlab.etsit.urjc.es/). Do not forget to complete your **username** in the excel file we have in Teams (link in Aula Virtual)
|
|
* Create your account on [Github](https://github.com).
|
|
* Once you have your account, you can create and edit your profile. Mine is [rperez](https://gitlab.etsit.urjc.es/rperez).
|
|
* Once you have your account, you can create and edit your profile. Mine is [sarroutbi](https://github.com/sarroutbi).
|
|
|
|
|
|
### Playing with repositories
|
|
### Playing with repositories
|
|
|
|
|
... | @@ -89,7 +89,7 @@ If we enter the **STL** folder and click on the file [urjc-coin.stl](https://git |
... | @@ -89,7 +89,7 @@ If we enter the **STL** folder and click on the file [urjc-coin.stl](https://git |
|
|
|
|
|

|
|

|
|
|
|
|
|
In this **animation** you can see our journey though this repository.
|
|
In this **animation** you can see our journey through this repository.
|
|
|
|
|
|

|
|

|
|
|
|
|
... | @@ -143,15 +143,15 @@ We can **decompress** this file as usual to have access to all the files and fol |
... | @@ -143,15 +143,15 @@ We can **decompress** this file as usual to have access to all the files and fol |
|
|
|
|
|
### Creating your repo
|
|
### Creating your repo
|
|
|
|
|
|
In this course, all your work will be stored in a **public Gitlab repo**. You will fork from [this repo,](https://gitlab.etsit.urjc.es/rperez/pne-studentslab) In other words, you will have your own branch. Just click on the 'fork' button on the top right and complete the requested information (select your username for the namespace and set a project slug you are happy with).
|
|
In this course, all your work will be stored in a **public Github repo**. You will fork from [this repo,](https://github.com/2023-2024-pne/pne-studentslab) In other words, you will have your own branch. Just click on the 'fork' button on the top right and complete the requested information (select your username for the namespace and set a project slug you are happy with).
|
|
|
|
|
|
After some seconds **your repository will be ready**. You can have a look at your main gitlab page to check that it is there.
|
|
After some seconds **your repository will be ready**. You can have a look at your main Github page to check that it is there.
|
|
|
|
|
|
Your repo is ready for start working!
|
|
Your repo is ready for start working!
|
|
|
|
|
|
But before you start, make sure **you add me as a project member**. Go to the *Members* section (under *Project information*), click the button that says *Invite members*, and invite me as a *Maintainer*! You can use either may email address or my Gitlab's username (rperez). Do not set an expiration date.
|
|
But before you start, make sure **you add me as a project member**. Go to the *Members* section (under *Project information*), click the button that says *Invite members*, and invite me as a *Maintainer*! You can use my Github's username (sarroutbi). Do not set an expiration date.
|
|
|
|
|
|
## Working with Pycharm and Gitlab
|
|
## Working with Pycharm and Github
|
|
|
|
|
|
For developing in python we are going to use the [PyCharm IDE](https://www.jetbrains.com/pycharm/download/?gclid=Cj0KCQiA-JXiBRCpARIsAGqF8wU4k1AvuaMc2tQ7gsbn23gdFIMNlczsnPDi-WyXa-cKkdUgxcbW7hYaAn2uEALw_wcB&gclsrc=aw.ds#section=linux) (Community edition 2022.2). It is already installed in the lab environment. If you like, you can activate the professional version with your university credentials.
|
|
For developing in python we are going to use the [PyCharm IDE](https://www.jetbrains.com/pycharm/download/?gclid=Cj0KCQiA-JXiBRCpARIsAGqF8wU4k1AvuaMc2tQ7gsbn23gdFIMNlczsnPDi-WyXa-cKkdUgxcbW7hYaAn2uEALw_wcB&gclsrc=aw.ds#section=linux) (Community edition 2022.2). It is already installed in the lab environment. If you like, you can activate the professional version with your university credentials.
|
|
|
|
|
... | | ... | |