You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Version française disponible plus bas](#version-française)
2
2
3
-
Demo project for running labs to evaluate Copilot viability
3
+
# GitHub Copilot Hackathon
4
4
5
5
-[Goal](#goal)
6
6
-[Pre-requisites](#pre-requisites)
7
-
-[Work with Github Codespaces](#work-with-github-codespaces)
8
7
-[Work locally](#work-locally)
9
-
-[Instructions](#instructions)
8
+
-[Basics Commands](#basics-commands)
9
+
-[Challenges](#challenges)
10
10
11
11
## Goal
12
12
13
-
The goal of a GitHub Copilot Hackathon is to learn how to use it, using a set of [exercises (labs)](#labs-instructions) that consist of building a web server using Nodejs with different functionalities, a .NET Web API or a Java Rest API (either Spring Boot or Quarkus).
13
+
The goal of a GitHub Copilot Hackathon is to learn how to use it through a set of [basics commands](#basics-commands) and [challenges](#challenges).
14
+
15
+
- Basics Commands
14
16
15
-
We have also set two exercises for data engineers and data scientists based on python.
17
+
These are small exercises focused on using slash commands. They help you get familiar with GitHub Copilot's capabilities. For example, generating tests or adding comments to your code.
16
18
17
-
For those who are already familiar with GitHub Copilot, we have also defined a series of [challenges](#challenges-instructions) to test your skills. In this case, you will find an introduction and short guidance to help you solve the challenge, but you will have to do most of the work on your own (with the help of Copilot, of course).
19
+
- Challenges
20
+
21
+
These are more advanced examples where you implement one or multiple features. They are designed to test your skills and help you understand how to leverage GitHub Copilot for complex tasks.
18
22
19
23
GitHub Copilot is an AI-powered code assistant that helps developers write better code faster. It uses machine learning models trained on billions of lines of code to suggest whole lines or entire functions based on the context of what you’re working on. By using Copilot, you can learn how to write better code and improve your productivity.
20
24
21
25
Remember:
22
26
23
27
- As you type GitHub Copilot will make suggestions, you can accept them by pressing Tab.
24
-
- If nothing shows up after Copilot write some lines, press enter and wait a couple of seconds.
25
-
- Press **Ctrl + Enter**, to see more suggestions.
28
+
- If nothing shows up after Copilot writes some lines, press enter and wait a couple of seconds.
29
+
- Press **Ctrl + Enter** to see more suggestions.
26
30
- Use Copilot chat to support your learning and development.
27
31
- Press **Ctrl + i** to start Copilot chat inline within your code.
28
32
29
33
## Pre-requisites
30
34
31
35
**GitHub Copilot access**
32
36
33
-
If you still do not have an active Copilot license, a 30 day trial can be requested here: <https://github.com/github-copilot/signup>.
34
-
35
-
### Work with GitHub Codespaces
36
-
37
-
Environment is already configured to work with Github Codespaces, you can find the configuration files in the .devcontainer folder.
38
-
39
-
To start programming just start a new codespace and you are ready to go, don't need to install anything.
37
+
Having access to GitHub Copilot is mandatory for this workshop.
40
38
41
39
### Work locally
42
40
43
-
**VisualStudio Code**
41
+
**Visual Studio Code**
44
42
45
43
<https://code.visualstudio.com/>
46
44
47
-
**Install Docker**
48
-
49
-
<https://docs.docker.com/engine/install/>
50
-
51
45
**For Nodejs**
52
46
53
47
-[Install Node and npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
L'objectif d'un hackathon GitHub Copilot est d'apprendre à l'utiliser à travers un ensemble de [commandes de base](#commandes-de-base) et de [défis](#défis).
99
+
100
+
- Commandes de base
101
+
102
+
Ce sont de petits exercices axés sur l'utilisation des commandes slash. Ils vous aident à vous familiariser avec les capacités de GitHub Copilot. Par exemple, générer des tests ou ajouter des commentaires à votre code.
103
+
104
+
- Défis
105
+
106
+
Ce sont des exemples plus avancés où vous implémentez une ou plusieurs fonctionnalités. Ils sont conçus pour tester vos compétences et vous aider à comprendre comment tirer parti de GitHub Copilot pour des tâches complexes.
107
+
108
+
GitHub Copilot est un assistant de code alimenté par l'IA qui aide les développeurs à écrire du meilleur code plus rapidement. Il utilise des modèles d'apprentissage automatique entraînés sur des milliards de lignes de code pour suggérer des lignes entières ou des fonctions complètes en fonction du contexte de ce sur quoi vous travaillez. En utilisant Copilot, vous pouvez apprendre à écrire du meilleur code et améliorer votre productivité.
109
+
110
+
Rappelez-vous :
111
+
112
+
- Au fur et à mesure que vous tapez, GitHub Copilot fera des suggestions, vous pouvez les accepter en appuyant sur Tab.
113
+
- Si rien n'apparaît après que Copilot ait écrit quelques lignes, appuyez sur Entrée et attendez quelques secondes.
114
+
- Appuyez sur **Ctrl + Entrée** pour voir plus de suggestions.
115
+
- Utilisez le chat Copilot pour soutenir votre apprentissage et votre développement.
116
+
- Appuyez sur **Ctrl + i** pour démarrer le chat Copilot en ligne dans votre code.
117
+
118
+
## Prérequis
119
+
120
+
**Accès à GitHub Copilot**
121
+
122
+
Avoir accès à GitHub Copilot est obligatoire pour cet atelier.
123
+
124
+
### Travailler localement
125
+
126
+
**Visual Studio Code**
127
+
128
+
<https://code.visualstudio.com/>
129
+
130
+
**Pour Nodejs**
131
+
132
+
-[Installer Node et npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
0 commit comments