... | ... | @@ -144,17 +144,17 @@ We can **decompress** this file as usual to have access to all the files and fol |
|
|
|
|
|
### Creating your repo
|
|
|
|
|
|
In this course, all your work will be stored in a private **GitHub repository**, managed through **GitHub Classroom**. I've created an assignment for each of you.
|
|
|
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).
|
|
|
|
|
|
To get started, click the link provided in Aula Virtual and select your university account.
|
|
|
|
|
|
After a few seconds, **your repository will be ready**. You can have a look at your main Github 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!
|
|
|
|
|
|
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 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 2024.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.
|
|
|
|
|
|
### Opening PyCharm
|
|
|
|
... | ... | @@ -168,7 +168,7 @@ If this is **the first time** it is opened, some configuration windows will appe |
|
|
|
|
|
The initial window will show up (maybe the program requests some other information, but that would be easy to handle):
|
|
|
|
|
|

|
|
|

|
|
|
|
|
|
### Cloning your working repo
|
|
|
|
... | ... | @@ -202,7 +202,7 @@ Add some text. Notice how the color of the README file has changed. It is indica |
|
|
|
|
|
Let's **commit** that change. Click on the README.md file to select it, include a commit message and select **Commit and Push**
|
|
|
|
|
|

|
|
|

|
|
|
|
|
|
You will be asked by your username and mail. Fill them and click on "Push"
|
|
|
|
... | ... | @@ -213,7 +213,7 @@ Congrats! You've done your first commit! |
|
|
|
|
|

|
|
|
|
|
|
But you have committed your change to the **local repository** in your computer. It is not yet in Github. You have to execute a **push command**. Click on the option at **Git/Push**.
|
|
|
But you have committed your change to the **local repository** in your computer. It is not yet in Github. You have to execute a **push command**. Click on the option at **VCS/Git/Push**.
|
|
|
|
|
|

|
|
|
|
... | ... | |