Skip to content

Tool to synchronize your epitech repositories with a public repository quickly.

Notifications You must be signed in to change notification settings

AlxisHenry/epitech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Epitech courses 🎒

This is a repository containing all my courses and projects at Epitech Strasbourg.

You have access to the percentage of technologies used in each courses and projects here.

This chart is provided by the epigrades API, and the link is generated by the sync shell script.

Teams

Table of contents

  1. How to use it ?
  2. Technologies
  3. Authors

How to use it ?

Create a repository on your github to host your courses and project. Then clone it and follow the steps below.

$ git clone [email protected]:<username>/<repository>.git
$ cd <repository>

First, retrieve the sync script and the environment configuration file from this repository using the command below.

$ wget https://raw.githubusercontent.com/AlxisHenry/epitech/master/sync.sh
$ wget https://raw.githubusercontent.com/AlxisHenry/epitech/master/.env.example

If you want you can retrieve also .gitignore and .gitattributes.

The folder named subjects contains the subjects for all courses, you can download it if you want.

Next you need to create and configure the .env file

$ cp .env.example .env
$ cat .env
STUDENT_NAME="<firstname>-<lastname>"
PROMOTION_NAME="<promotion>" # Like <EpitechMscProPromo2026>
PROJECT_EXTENSION="<project_extension>" # Like <msc2026>

Configure technologies.sh:

$ cat technologies.sh
repo_url="<url-repository>"
grade_url="<grade-website-url>"

First read the help of the sync script.

$ bash sync.sh -h
Usage: ./sync.sh [options]

Options:
  -h, --help                    Display this help message.
  -t, --type                    Type of the repository.
  -c, --code                    Code of the repository.
  -p, --project                 Is it a project ?
  -T, --team                    Team of the repository.

Examples:
  ./sync.sh
  ./sync.sh -t WEB -c 500
  ./sync.sh -t WEB -c 501 -p -T STG_11
  ./sync.sh --type WEB --code 500 --project --team STG_11

Note: If you dont specify an option, the program will ask you.

Note: You can use the interactive mode by running the program without any option.
  ./sync.sh

Now run the sync.sh script and follow the instructions.

$ bash sync.sh [options]

Technologies

Authors