https://github.com/nderousseaux/tps-php
Tps de l'UE de PHP
https://github.com/nderousseaux/tps-php
dut-informatique education laravel tps ue-php
Last synced: 2 months ago
JSON representation
Tps de l'UE de PHP
- Host: GitHub
- URL: https://github.com/nderousseaux/tps-php
- Owner: nderousseaux
- Created: 2023-05-30T11:35:40.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-30T21:51:31.000Z (about 3 years ago)
- Last Synced: 2025-07-25T07:52:34.675Z (11 months ago)
- Topics: dut-informatique, education, laravel, tps, ue-php
- Language: PHP
- Homepage:
- Size: 12.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
W31 - Programmation web côté serveur
====================================
#### IMPORTANT : Il sera impératif de savoir utiliser ce dépôt pour le TP noté.
Pour démarrer, vous devez :
1. Mettre en place une clé SSH en suivant le tuto [GITLABSSH.md](GITLABSSH.md)
2. Mettre en place votre environnement de travail en suivez les instructions ci-dessous.
Ensuite, pour **utiliser** de votre dépôt, regardez la page [HOWTO.md](HOWTO.md).
#### Les diapos des cours :
- [CM n°1 : Introduction à PHP](http://adrien.krahenbuhl.fr/courses/IUTRS/W31/CM1)
- [CM n°2 : POO et PDO](http://adrien.krahenbuhl.fr/courses/IUTRS/W31/CM2)
- [CM n°3 : Laravel](http://adrien.krahenbuhl.fr/courses/IUTRS/W31/CM3)
1 - Créer un **clône distant** sur Gitlab
-----------------------------------------
Il suffit de cliquer sur le bouton "Fork" en haut de la page, à côté du bouton bleu "Clone".
**À FAIRE** : Ajouter votre enseignant de TP en tant que "Reporter" de votre dépôt (menu "Settings" => "Members").
2 - Créer un **clône local** sur votre ordinateur
-------------------------------------------------
1. Installer git sur votre ordinateur personnel (rien à faire sur les postes de l'IUT) :
```sh
$ sudo apt install git
```
2. Configurer vos informations d'utilisateur :
```sh
$ git config --global user.name "[Prenom] [Nom]"
$ git config --global user.email "[login]@unistra.fr"
```
3. Cloner :
```sh
$ git clone git@git.unistra.fr:[username]/W31.git
```
3 - Ajouter le **remote "prof"**
--------------------------------
En trois commandes :
```sh
$ cd W31
$ git remote add prof git@git.unistra.fr:W31/W31.git
$ git fetch prof
```
Si tout s'est bien passé, la commande :
```sh
$ git remote
```
affiche :
```sh
origin
prof
```